settings: fix quickpulldown summary and clean up code

on default value it showed left summary and code is to complicated

Change-Id: I0c3b2dbe3213beea707bdda2f2453c4f9c75dcae
Settings: Completely remove "note" preference

Unused

Change-Id: I72f4a9022796c8dcdb0a9b04863723e5bdff89e5
settings: enable/disable lockscreenwidgets preferences

it is just nicer if the user can see which preferences are active
or not

Change-Id: Ia5f8c3884c747c0f17c50075842e861ab4de1020
Add option for switching between UMS and MTP/PTP mode. (2/2)

This adds support for switching between UMS and MTP/PTP.
Settings part (this part) adds option in USB settings (statusbar/notification drawer) for enabling UMS,
and adds setting in Storage menu to enable / disable UMS, this since the USB settings page disappears when enabling UMS.

Forward port from cm-10.2, adjusted for 4.4

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

Conflicts:
	res/values/cm_strings.xml
Revert "Revert "Add native java screen recorder [2/2]""

This reverts commit d26660935a55e2efc80011938738bf0ad247ee8a.

Signed-off-by: scott <scott@ubuntu>

Conflicts:
	res/values/bs_arrays.xml
	res/values/bs_strings.xml

Change-Id: I0aff00e87d090f366b2a0eb96fb7b534e07f3def
Screen recorder: add ability to record audio from mic [2/3]

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

Conflicts:
	res/values/vendor_strings.xml
Make screenrecord power menu option configurable
    * edited for the new slim layout.

Change-Id: I9147e1390fc1ff6022ecddbe4a53dd96b61879c8
Signed-off-by: scott <scott@ubuntu>
 update power menu profile option

Change-Id: I6149dff16cb09906f43772e4044b41ab7ee637d9
Signed-off-by: scott <scott@ubuntu>
Use java.util.Objects instead of internal API

Change-Id: Ib0d797b3e7f2e4f831f52832776b64c0973880b3
Settings: follow kitkat's ui

- manage apps; tab selector and ram usage
- battery data usage bar
- app widget toggle

Change-Id: I804b4b47563545d7ab124f4cc4800ef4034bf754
Settings: QuickRecord Tile (2/2)

PS2: Forgot to set image name.

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

Conflicts:
	src/com/android/settings/beanstalk/quicksettings/QuickSettingsUtil.java
Settings: Chamber of Secrets (2/2) [WIP]

PS2: Rebase

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

Conflicts:
	res/values/bs_strings.xml
	res/xml/development_prefs.xml
	src/com/android/settings/DevelopmentSettings.java
Separate Android Encryption Password from Lockscreen Password

This permits the use of a different (hopefully longer and more complex!) encryption
password, while using a simpler (and easier to type) lockscreen password.

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

Conflicts:
	res/values/custom_strings.xml
Add option to change clear all button position and memory circle
option with position options.  Still need to update the strings to
make things a tad less confussing.

Change-Id: Ib59b2f8af0e74b25c4c9e6b385a922b2f37e6ff8
Signed-off-by: scott <scott@ubuntu>
Bluetooth: Fix to show internet access as marked when pan is connected

isPrefered is always true for PAN. So internet access menu checkbox
is always marked on. Marking internet access menu checkbox based on
pan connection status should solve this issue.

Change-Id: I4343cc6f1b46377caa54aa3d39c08489ff14adac
CRs-Fixed: 550731
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: Not allow Blank BT device name.

Add empty string check for BT device name
and not enable ok button until entered
device name is not empty.

Change-Id: Ib7c460bee5c8d86d13acd66d228279dd1a240c25
CRs-fixed: 471158
Bluetooth: Remove remote device from trust list on BOND change

A special case where remote device is paired & authorized by
DUT. Remote device is unpaired by itself & try to connect again.
In this scenario Link key is deleted from remote device. So
SSP is performed again. & remote device bond state is changed
to BOND_BONDING from BOND_BONDED on DUT while SSP, As it was
in DUT BONDED list. So permission/trust info for all profile
need to be false when it's moved to BOND_BONDING to solve the
issue.

Change-Id: I37e8d92feef3c2d4d18c014a5d9092a9469335cb
CRs-Fixed: 578523
Bluetooth: GAP: Cancel the previous visibilty alarms if already set

Cancel the previous visibility alarms set for 2 mins/5 mins/
1 hour if visibility change happens from the limited discoverable
to unlimited discoverable.

Change-Id: I01797b771c271498372f15b545233a73baf60ca9
CRs-fixed: 582492
Bluetooth: GAP: Cancel the pairing notification on bond state change

Cancel the pairing notification on bond state change happens from
BOND_BONDING to BOND_NONE.  Otherwise it will present in the
notification area until it gets cancelled by opening it and press
cancel on pairing dialog.

Change-Id: I96f673e29e612cd748165a1323a5b4a4276a843c
CRs-Fixed: 569534