make switch to last app animation snappier

Change-Id: Ia253a3db45109da7dd4f7a2467184d81c04918b4
(cherry picked from commit 2fed6c47ab3bb6b0cc7adbcc7fc2c94592b81571)
core: Fix typos in AOSP EN resources

Change-Id: I40220888c2fbe87629d17fc52046e554388de3ee
(cherry picked from commit 2296c2d0d41d8f8e7b4fdab9a039588da2c8c962)
input: add workaround for broken hardware keyboard support

* add workaround var for devices with broken kernels

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I98b04c6906a0e7a1ad893b25d0377bf6df97f30c
(cherry picked from commit 1ea810379327d70999f6820a29373e5cd9195e11)
KeyGuard: fixed strings warnings

Change-Id: I53047334512de40e64b01f1824861fb3c804eedd
(cherry picked from commit ff127d85bd060f4bb5f39bb11e1fc106f056728c)
frameworks: disable loading notification groups in System profiles

While the functionality of groups was left in the ProfileManager
backend, the front end no longer exists, and there were default
notification groups still being loaded. Remove the default ones and do
not load any that may have been persisted.

Change-Id: I4e4102607f1380d6fc5f6be7746d06bebf3c006b
Signed-off-by: Roman Birg <roman@cyngn.com>
(cherry picked from commit ced045d0da10b597dcb3ef13b6bbe38cebc3e72b)
bootanimation: allow preload the bootanimation

This patch implements one simple performance enhancement, which
might benefit devices. It is completely opt-in by setting
the following variable.

  * TARGET_BOOTANIMATION_PRELOAD: will preload the bootanimation
    zip to memory; this is handy on devices where the storage
    might be slow. By preloading it, we get quick access to the
    zip file, and the animation doesn't stutter.

Conflicts:
        cmds/bootanimation/BootAnimation.cpp

Signed-off-by: Andreas Blaesius <skate4life@gmx.de>
- picked for L, original commit only applyed partially: https://github.com/CyanogenMod/android_frameworks_base/commit/e6b54405aa70d7503a114d9c90ef7518abdd7133 >

Change-Id: Ie92d1b0aa90b43ba39c368a2a33657a60c3a64b5
(cherry picked from commit 7c61c5ef48330d31ce7036cdb5aad8a0e004e544)
bootanimation: allow using RGB565

RGB565 uses considerably less memory, and together with texture
cache, it allows us to offer a really smooth bootanimation on
not so powerful devices.

Signed-off-by: Andreas Blaesius <skate4life@gmx.de>
- changes for Android 5.0

Change-Id: Icbd6754cc608693c007ac92428e4aa711c32a59c
(cherry picked from commit fe70aa969b7ef06c262379e6559da30b68a8bdc3)
Revert "Gesture panel [2/2]"

This reverts commit ee2b30b88a0e19a052b57587023e80cfcadf9732.

(cherry picked from commit a3de8135836704be1eed51e6cbb2620c58c26a4c)
FWB: Gesture Anywhere - bring it back [1/2]

AICPfy lp5.0:
- Lollipopify LOL
- By request from doc
- Added TriggerOverlayView from AppSidebar
- some lines from Locskcreen gestures to get
  it compiled and working

Change-Id: I04acb9a88fe0011921a1bafdc1919d76ce57aedf
(cherry picked from commit 9edbed070c60625c0e026713ec307a3fe7778f05)