Quick Settings: Option to use floating window (1/2)

Allows the option of launching preferences from the quicksettings menu in a
floating window

Change-Id: I267cae3cddaf8be697e5c60e21f7ba2616344a19
Signed-off-by: Evan Anderson <evan1124@gmail.com>
Merge pull request #60 from linuxman94/pa43

Quick Settings: Option to use floating window (1/2)
Merge branch 'jb43' of https://github.com/ParanoidAndroid/android_packages_apps_Settings into jb43-legacy
Kill Advanced settings (temp)

Change-Id: I19d899caf28a64be6c2e8fbcb0a159029f3cd211
PBAP: Fix device name update on authorization prompt from Notification.

Use FLAG_ONE_SHOT for Notification PendingIntent to launch
authorization prompt and display the updated device name for
every new PBAP connection request.

Change-Id: Ic9cbed92e2856ed2d2f4f807f7f8c39df7f98762
CRs-fixed: 515221
Bluetooth : Remove out of range devices after ScanComplete

Change to remove device from UI when Bluetooth of remote
device is off or not discoverable anymore. Without this
change a device that discovered previously is available
in available devices list always, though the remote device
is not discoverable anymore. The current change updates
available devices list on scan complete removing the
devices that are available in cached devices and are not
disvorable anymore.

Change-Id: I97809fcafd904271121e26741e50a9b61f0e0664
Fix coding style.

Change-Id: I520b16f1c9a927a93d9e1bd4f7e712769d341e58
FLAG_ONE_SHOT is not guaranteed to update the extras.

In contrast, according to the docs [1], FLAG_CANCEL_CURRENT is. Also
keep track of the notifications on a per-device basis.

[1]
http://developer.android.com/reference/android/app/PendingIntent.html

Change-Id: Ie04f60cde6a4332178373ce6be073e04036676c0
Merge branch 'jb43-legacy' of https://github.com/ParanoidAndroid/android_packages_apps_Settings into jbl43