Frameworks: fix typo

Change-Id: I58dc2bc1e510101f0c180be34442722c90cc9a57
Frameworks: fix wrong target assignment on keyguard landscape

merge derp

Change-Id: I39526491b4c6cba16b106b5747af66da1966c994
Framewors: bluetoothmanager avoid NPE

callback on unregister get sometimes null. Not sure
where it comes from currently due that all instances
calling the unregisterStateChangeCallback are
well. Whatever to prevend the NPE check callback for null
like stated in RemoteCallBackList.java

Change-Id: Ie49c2a507dcecdbdaa155fd1a5d93fc5d6a2baf8
Remove incorrect keymapping

Turns out Snakebytes produce all 0s for their vendor / product IDs. This
somehow got the vendor / product ID of an international apple keyboard, which
will break them. Unfortunately, this also means we cannot map Snakebyte
controllers at all.

Relevant bug: https://code.google.com/p/android/issues/detail?id=58202

Change-Id: I09d246b1ab793ec04a19d558f6b98badac48b20f
Remove deleted keylayout from Makefile

Change-Id: I8aecc00861cf99d8e7278519f4e2e6fb726b7e17
Forward compatibility fixes

Change-Id: Iaf387a10c387e5e157bb16d120a1e033b3d1a6e8
Forward compatibility fix

Change-Id: Ib031372d43881a9bb7af1e51fb2c7cf55e03a326
Fix for NullPointerException in HTML5VideoViewProxy

There is a missing null check of mHTML5VideoView.

Change-Id: Ic49ad02703717c3b76da4371e80abfdebff90873
Fix to NullPointerException when activity is relaunched

When ChooseTypeAndAccountActivity is relaunched and resumed
by ActivityManager a call is made to onActivityResult without
first triggering onResume. This leads to mAccounts object
still being null.

Fixed by properly setting mAccounts object if it is null prior
to use after function onCreate has been called.

Change-Id: Ife7e1e052c473970d923fa43ee6189eb62a1113b
Missing break in switch statement

Change-Id: I1b7e7a94df8d39e162050911e31e510d2ce5447e
Prevent nullPointerException by updateBondedBluetoothDevices

In some very rare cases difficult to identify, it seems that the
IBluetooth.getBondedDevices() returns a Set with a null element.

This patch will prevent calling getBondState() if the device is null to
avoid a nullPointerException.

Change-Id: I9bcad60c37e03c77ec39227e5c947c002a3ae2c7
Orig-Change-Id: I8845f0e6b8fdcda679bc71e2b5c33fd4a52f3ac5
Signed-off-by: Patrick Combes <patrick.combes@intel.com>
Reviewed-on: http://android.intel.com:8080/116592
Reviewed-by: Bondier, CedricX <cedricx.bondier@intel.com>
Reviewed-by: Chen, HuaqiangX <huaqiangx.chen@intel.com>
Reviewed-by: Yao, Yong <yong.yao@intel.com>
Reviewed-by: Aquilone, RaffaeleX <raffaelex.aquilone@intel.com>
Tested-by: Lestienne, ChristopheX <christophex.lestienne@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Signed-off-by: Jian Luo <jian.luo@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 90085
SystemUI: Add missing recycle calls (fix lint warning)

Change-Id: Ic3462ceb8d85e4ec2aee833d4327c4b81f5eac5a
SystemUI: Fix missing top task in recent panel.

If preloadRecentTasksList was not called or was called too
late and RecentsActivty already started and last top activity has
excludeFromRecents flag setted it might be missing
from recent application list.

Change-Id: Idf7153824805ceea9fcaf04ac645b73a5e93a4d9
Framewors: fix finally recents rambar like it was on 4.2.2

way better now

Change-Id: I6d5ce035a981e3c7db46a5297f43725916170302
NPE in SearchManager.triggerSearch

mAssociatedPackage field is never initialized and cause NPE.

Change-Id: Ibf0d44b2170b7cbfe4a883008254a086e03579c5
Factor out profile trigger code into separate class.

Makes it easier to extend the trigger mechanism later on.

Change-Id: Ied318e7efa7e1755022deecb8172f862943ca6ac
Move broadcast actions from service to ProfileManager so all API is
there.

Change-Id: Ic8a8ad8f86f01864a30963457687f5be70e99ef4
Cleanup.

Change-Id: If5fc34b681615e600430478807c53f6d4440a5ec
Fix our bt and go back to AOSP

Revert "Bluetooth: Add trust device feature."

This reverts commit 12eacc798f754127eec8f85bea9cc23a7eb5f696.

Revert "Bluetooth: HID: Add support for Set Idle and Get Idle Commands"

This reverts commit 7b94ea319014574b3bc12c5a687e9c4e7ca4cfb7.