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
[2/3]TeloRadio

Author: telo46

Some cleanup changed a few strings
PS3: new icons, action bar switch, java cleanup, dependencies -prime
PS4: hide on CDMA devices, much derp, such fix, aswesome move, many clean, amaze
PS5: much fix to please Dave, amaze
PS6: cleanup
PS7: such proper fix
PS8: use constants

Change-Id: Ide33078f9efa8366c97ed328ea94bd81c7573850
Signed-off-by: Dan Trifan <jimsth@gmail.com>
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	AndroidManifest.xml
	res/values/vanir_arrays.xml
	res/values/vanir_strings.xml
	src/com/android/settings/WirelessSettings.java
Settings: Pimp up Notification Labels Hide [1/2]

This adds fine grain priorities to hide the labels in the notification
drawer in the following ways:

- Show all Labels
- Hide Carrier Label
- Hide WiFI Lable
- Hide all Labels

PS:
- rebase

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

Conflicts:
	res/values-es/slim_strings.xml
	res/values-hu/slim_strings.xml
	res/values-ru/slim_strings.xml
	res/values/bs_arrays.xml
	src/com/android/settings/beanstalk/NotificationDrawerQsSettings.java
Settings: fix NPE with null check on NFC adapter

Verifies the adapter is not null before dereferencing it and log and error if so

PS:
- fix codestyle and rebase

Change-Id: Id2a34c4698a97476bee9b78cb0ac7b980d1595cf
update for BS

Change-Id: Ia23b5f9df221903ae0c9327d1828011ff8dfc695
Signed-off-by: scott <scott@ubuntu>
Settings: Fix Bug Tile Size (1/1)

As reported very well by
	user Natakranta:

http://forum.xda-developers.com/showthread.php?p=49457919#post49457919

Layout files will take care of scaling down in this case.

Change-Id: Id80d1003c9e569ed9c4e2eca2c6c164473918590
this wasnt supposed to be there

Change-Id: I41805dc4bcd9e68b8af5aff8ce2d85dcc31250a2
Signed-off-by: scott <scott@ubuntu>
Merge "Make Privacy Guard a first class citizen in the Settings app." into cm-11.0

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

Conflicts:
	res/xml/settings_headers.xml

Change-Id: I2f7446bb0858f65434d23f1c641943ea5fda0cfa
Settings: Fix up top level "Privacy" section

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

Conflicts:
	res/xml/settings_headers.xml
	src/com/android/settings/SecuritySettings.java
Fix crash when opening privacy settings on tablets

Change-Id: I6e3296a554196d765d514b9c7327eb3cf30fb3ce
Signed-off-by: scott <scott@ubuntu>
Fix LTO availability check.

Change-Id: Ifb8ab65584df2f8b638b6e178e134b5e3a61cfce
Settings: Icons

PS 8:

-Vectorized rocket icon

-Enhanced ActiveDisplay icon

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

Conflicts:
	res/drawable-hdpi/ic_settings_actived.png
	res/drawable-mdpi/ic_settings_actived.png
	res/drawable-xhdpi/ic_settings_actived.png
	res/drawable-xxhdpi/ic_settings_actived.png
Settings: Glowpad Torch (3/3)

PS2: String edit & remove from
	devices without torch.

Change-Id: Ide6fae8d35afb7f031aefcf6f5703ba57cf1f51d
Settings: Fix broken sliders on menu reset (1/1)

Change-Id: I5a28b1a02a01c8b3d23ab746b1ff5131d2952e6c
few fixes

Change-Id: Ic96dafd4a4d9e41c19b12939b30833a4794d9d2c
Signed-off-by: scott <scott@ubuntu>
Fix blacklist preferences fragment transition for tablets.

Change-Id: Iecde099b111ae31c8e11ce366d9d06d965029ed7
derps

Change-Id: Ibe66a59fc8f79728f94617ca0b9f060f44be3f16
Signed-off-by: scott <scott@ubuntu>
fix up accessibility settings

Change-Id: I2b65b7628f24f483f5e713f988a521fbeab1a1cc
Signed-off-by: scott <scott@ubuntu>
Add home and menu unlock 2/2

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