Settings: use CMHW serial number

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

Change-Id: If328ca7b487435b88246d1f8c47b04770183f09e
settings: Add text plain battery style

Patchset 2: Fixed dependents
Patchset 3: Rebased

Requires: http://review.cyanogenmod.org/#/c/56038/

Change-Id: Ieb45b23bcfc850dbee6577885fb2f8312d19bdd6
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
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)
Dont show "Erase SD Card" when there is none

On devices with physcal, external SD Cards, the "Erase SD card"
option in in Settings/Storage is available even when there is
no SD card present, this dont make much sense since you cannot
erase a card that is absent. With this change the erase option
is bound to the mount toggle which leads to the following
consequences:

 Card present and mounted -> Erase enabled
 Card present but unmounted -> Erase enabled
 No card present -> Erase disabled
 Card present and MTP attached -> Erase disabled

Change-Id: I756ae8af3e0565febaf940df5f4991dd89105bd9
Merge "Settings : Update gesture preference check" into cm-11.0
Allow modification of the camera widget option on insecure lock screens

Change-Id: I56352a670eca52d51fb4fc7cf1527affc43bbc5c
Merge "settings: Add text plain battery style" into cm-11.0
Merge remote-tracking branch 'github/cm-11.0' into cm-11.0
Merge "Settings: use CMHW serial number" into cm-11.0
Bluetooth: GAP: Avoid adding device to cached device list

Change will ensure that devices will not be added to the cached
device list if profile connection state is STATE_DISCONNECTED
or STATE_DISCONNECTING. Otherwise, devices will be added to cached
list and while inquring device will not be listed in available
device list.

CRs-Fixed: 586975
Change-Id: I60bc01c0f2cb5ea87f3c633bcec2f04c90939d67
Bluetooth: HID: Use proper values of connection status

This patch fixes issue in retrieving correct connection status when
more than one hid device was connected to DUT. In such situation
current implementation was sending STATE_DISCONNECTED as connection
state because of wrong check of matching device as 1st device in
connected device list. Instead of this now actual connection state
device is retrieved from HidService.

Change-Id: I2c766e9fc6eb9e97c3745016e38fa5c374c16539
CRs-Fixed: 593065
Merge remote-tracking branch 'github/cm-11.0' into cm-11.0
Merge remote-tracking branch 'cm/cm-11.0' into cm-11.0

Signed-off-by: Chester Kener <Cl3Kener@gmail.com>

Conflicts:
	src/com/android/settings/cyanogenmod/StatusBar.java