Frameworks: add torch to SlimActions

can't sleep so will do the easy things on the todo list lol

Change-Id: I3aef8f2133350b87a78707b9392123947425f8e5
Framewors: center keyguard shortcuts as well when only 1 or 2 shortcuts are set

Change-Id: I2a7e8afc1a86777c6f8d612abda5c453b6d69be0
Translating frameworks SystemUI to Russian

Strings moved to necessary files

Fixed string duplicating

Fixed one more duplicating

And one more duplicating

AOSP strings file was accidentally misplaced, restoring the correct one with translations

Change-Id: I14612139caf8f47e1722d7d92125cd3e43ef2129
Frameworks: fix defaulte transparency value

Change-Id: I32fec3cc87990574b6a46aa4c3367a4a3f330c4e
Merge "Translating frameworks SystemUI to Russian" into jb4.3
Frameworks: fix typo

Change-Id: I58dc2bc1e510101f0c180be34442722c90cc9a57
Merge "Frameworks: fix typo" into jb4.3
Frameworks: fix wrong target assignment on keyguard landscape

merge derp

Change-Id: I39526491b4c6cba16b106b5747af66da1966c994
Merge "Frameworks: fix wrong target assignment on keyguard landscape" into jb4.3
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
Merge "Framewors: bluetoothmanager avoid NPE" into jb4.3
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
PackageManager: allow build-time disabling of components

Allow components to be specified as disabled at build time
(applied on boot).

This allows stock OTA components to be marked as disabled in
CM builds.

Change-Id: I6e4499cc40a779792a5ea97a10137399dad7d69f