Bluetooth: Add trust device feature.

Add set trust feature where the remote device is marked
as a trusted device for subsequent connection.

CRs-fixed: 523135

Change-Id: I9bde4d7dfe07d9d63b58a661ed2413f45501bd7b
Revert "Revert these commits because they caused FC's on flo. Some of these might be good so it"

This reverts commit 5eb909b7d8b978b0940235fc78387d040343804b.
Framework:Notification Drawer Brightness Slider - (1/2)

Patchset 10:

fixed the compile errors

Patchset 11:
- cleanup tabs and whitespaces
- cleanup unused code
- cleanup code which doesn't work for 4.2.1
- change getInt and putInt to getIntForUser and putIntForUser
- change setBrightness to new aosp handling
- rearrangments
- optical changes to fit better to 4.2.1
- animation same as pw because a pw feature

Patchset 12
- added forgoten userhandling observer

Patchset 13
- added license text xml

Patchset 14
- damn old code - another cleanup unused imports

cheers

Lars

Change-Id: I28c0a61c684be8429331a1445e261c5150a10138

Conflicts:
	packages/SystemUI/res/values/strings.xml
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/powerwidget/PowerWidget.java
LockScreen: Fix crash when unlocking twice

This will keep track if the BroadCastReceiver is registered and
will unregister it only if so.

Change-Id: I040d710cf0927394f36b2e3da251ac5a988ce1d6
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>

Conflicts:
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardSelectorView.java
KeygaurdSelectorView: Unregister reciever in onPause

Also check if we already have a reciever instance before
creating a new instance

Patch Set 2: Refactor field reciever to mUnlockReciever
           : Add null check to Context#unregisterReciever
Patch Set 3: Add null check to Vibrator#vibrate(int);
Change-Id: Ie9b03b20da29d05a64293ef6b7931393c34796a2

Conflicts:
	policy/src/com/android/internal/policy/impl/keyguard/KeyguardSelectorView.java
Fix Lockscreen FC/reboot

PS2: register receiver in onResume()

Change-Id: If475f0750bbc408e727eb0d3cf532c936ad418e8
Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>
Merge remote-tracking branch 'upstream/jb3' into jb3