Bluetooth: Set alias name only through Rename option

Set the alias name only when user is trying to change the
name using the Rename option of paired device.

CRs-Fixed: 539420
Change-Id: I415b6a962d8e7884b67d37b94c04df19e2c23012
Bluetooth: Don't set a null alias before unpairing

* This causes the unpair action to throw a null pointer exception and
  bring down the Settings app. Don't do this.

Change-Id: I0c60437f5ea934385a037a464743e24c9d341aca
Fix null pointer exceptions in NetworkPolicyEditor

This upload fixes a null pointer exception issue.
After this fix the modified methods return
their corresponding default values instead of null.

Change-Id: Idb94f8b808b8dd18be5e3fc92cc5560ce0f81c4f
Settings: Custom Tiles (2/2)

PS1: Reinvent logic from initial
	implementation
PS3: Unlock/Collapse Shade options
	and clean-up.
PS4: Remove unlock option.
	Too complex for average use.
PS5: Snip >100 line length =/
PS6: Fix potential NPE on rotation.
	Add scrollview to layout
	to allow scrolling if dialog
	is too large for screen
	(landscape)
PS7: Rebase on Fix tile index
PS9: Add reset buttons
PS10: Cleanup:
	Smaller and better looking
 	code by creating array
	buttons to reference.
	Rearrange voids to logical
	spots.
	Set image source rather than
	background for reset buttons
	to allow touch-highlight.
PSX: Create dependency

Change-Id: I06d773aa87bd6c1b88077ad54333a58d03f783c8
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	src/com/android/settings/beanstalk/quicksettings/QuickSettingsTiles.java
	src/com/android/settings/beanstalk/quicksettings/QuickSettingsUtil.java
squashed commit to bring back the funk

* Text signal display option
* Text signal color option
* Signal hide option
* Vibrate notification expand

Change-Id: Ie7ed5f2abaea3a54733c826670fe4c8e95a8b77c
Signed-off-by: scott <scott@ubuntu>
Settings : Update gesture preference check

Move the gesture outside the stylus dependency check and remove the
preference category if no children are found

Change-Id: I05ecf71dc84f5244200e3030b5ee524944339145
(cherry picked from commit f6a43a4bc50f6fba64f55c08adff16f8bdcb1c44)
Settings: use CMHW serial number

See http://review.cyanogenmod.org/57164

Change-Id: If328ca7b487435b88246d1f8c47b04770183f09e
Settings: Get Shortcut Name (2/2)

Return name similar to new
	custom tile method

Change-Id: I8d27ce6d981d7b42501e841479880a2d984fa43d
Return: Listanimation views and interpolator [2/2]

Change-Id: Id41c6843e71a4bdd0fa867d4bdab3b3f54fd1431
Signed-off-by: scott <scott@ubuntu>
Settings: Clean up SeekBar && Fine LongPress (1/1)

SeekBarPreference:
	-Way too many unused
	values that only complicated things.
	onProgressChanged is called to update
	the summary without issue.
	-Set future-proofing else {} to set the
	monitor box to JUST the progress value.
	-Set a "default" string @ int setting.
	-Set minimum Value method
	-Set a multiplier method to multiply
	value / summary.

Accessibility:
	Fine adjustment of long-press
	duration.

Change-Id: I93f4f817f2d745f5bf4a9881513642ac3f4bf16a
Fixes from past couple commits

Change-Id: I55861a9e6a31a1a08e021ce1732ceb31e366e05c
Signed-off-by: scott <scott@ubuntu>
Merge remote-tracking branch 'upstream/kk44' into kk44

Conflicts:
	res/xml/status_bar_settings.xml
	src/com/android/settings/beanstalk/StatusBar.java