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