Fix Home/Menu/Back keys' unlock

Change-Id: Id2bf457261619f64cf8717e2f18cf9775159921a
frameworks_base: CA translations

Change-Id: I202207397e92a47abf1d6eb254aa048d2762c2f4
Merge "Fix Home/Menu/Back keys' unlock" into cm-10.1
Merge "frameworks_base: CA translations" into cm-10.1
SystemUI: CA translations

Change-Id: I4fa9fbaceb03d34dddc80c6759fe44c92003ab0e
QS: Unlock screen when tap profile tile

Change-Id: Ie6d343bffd41c268e46a714b301338fc6bbba32d
JIRA: CYAN-1888
Issue: https://jira.cyanogenmod.org/browse/CYAN-1888
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
PowerWidget: Dismiss unsecure keyguard on long tap

Change-Id: I88f5db97694b92007d44d32ff103793fafcdb067
JIRA: CYAN-1865
Issue: https://jira.cyanogenmod.org/browse/CYAN-1865
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Merge "PowerWidget: Dismiss unsecure keyguard on long tap" into cm-10.1
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
Fix flicker in lockscreen if music controls are disabled.

Pretend no music is playing if music controls are disabled, as otherwise
KeyguardHostView gets confused as there's a mismatch between the result
of isMusicPlaying() and the onListenerAttached() / onListenerDetached()
callbacks.

Change-Id: Ic3bd2c6f143ce8b67c80abb408a4ff463ebae53d
JIRA:CYAN-1935
Re-implement orientation aware volume buttons at lower level

Rework of http://review.cyanogenmod.org/31979

Fixes:
1. inconsistent volume button behaviour depending on app in use
   - the buttons were not swapped for some NDK/OPENSL ES apps like
   e.g. MX Player
2. the function of volume buttons on external input devices like BT/USB
   keyboards should not be affected by the main unit orientation

This commit finishes http://review.cyanogenmod.org/18273 - use of system
property has been replaced with config push via JNI as suggested during
the original review.

Patch Set 7: Circumvent the need for "keyboard.orientationAware = 1" idc
Patch Set 8: Don't leak implementation details outside InputReader

Change-Id: I19cc60cb0acb0005ab13fa069f52e3d468d694e7
Rework thumbnail handling

Since ids of media file are usually not continuous, the original file of thumbnail are
sparse. When there are big numbers files on ex\
ternal storage, the size of this file will be horrible.
Ex, when the id is 20000, then the .thumbnails/.thumbdata3-xx file will be 50000*10k = 488.28M.
Can refer http://stackoverflow.com/questions/12396715/android-huge-thumbdata4-file-in-dcim-folder
Because after 4.0, MediaProvider will scan any files, this will be a big problem. So I modify MiniThumbFile.java to avoid this.
According to the id, we now produce an index file. In this index file, one id will use BYTES_PER_MINTHUMB_INDEX(8) bytes in offset (i\
d+1)*BYTES_PER_MINTHUMB_INDEX. The data of these 8 bytes is the index of thumbnail file. The first BYTES_PER_MINTHUMB_INDEX bytes kee\
p next available index. And when you need insert a thumbnail, the index increase by 1. In this way, the block data in thumbnail file \
will be continuous. And thus unnecessary zero paddings will not be saved.

Change-Id: I66005dd69b0a5c8f4353bd7a8225d163a654fd2d
Merge "Re-implement orientation aware volume buttons at lower level" into cm-10.1
Fingerprint support for /frameworks/base