Check themes of current user, not user 0.

Change-Id: I5d685a04289b434a12e460b4fdacc43a41ff2be1
JIRA:CYAN-1303
Merge "Check themes of current user, not user 0." into cm-10.1
Merge remote-tracking branch 'cm/cm-10.1' into cm-10.1
Lockscreen : Use correct filter for background

Switch over to SRC_ATOP filter instead of using MULTIPLY.

Change-Id: I6b8dac563136cd10b48b6fc6c0ecb2265d0e0b04
Merge remote-tracking branch 'cm/cm-10.1' into cm-10.1
NotificationManagerService: fix typo on led off time variable

Change-Id: Iade96474c26dbeb3a5a671170f563220562d9b3c
Merge remote-tracking branch 'cm/cm-10.1' into cm-10.1
Finally fix incorrect flipping to quick settings.

Commit f6685c5ca84a42f5a47bf40827d6229dd998dee4 fixed this for the
two-finger pulldown. It reverted commit
c5e8dca7f11d3c085dd1e98692fcc21f1bcc0f6f in the process, which was
incorrect, but fixed another condition of this problem occuring
nevertheless. The actual problem the latter fix tried to fix was that
the flip decision was dependant on the timing of the view layout:
getMeasuredHeight() returned whatever was set in the last layout, which
might not have happened when hiding the view, so at the time of the next
ACTION_DOWN getMeasuredHeight() returned the height from the time the
panel was last visible.
Fix that problem by using the height scheduled for the next layout, so
we're always up-to-date.

Change-Id: Ib97f34f9aa0a6f28d48b4ec3e16c82a814cda0d0
Merge remote-tracking branch 'cm/cm-10.1' into cm-10.1
Reduce number of binder calls by saving nav bar state

Change-Id: I3729d05a34a661cb74e998c40b61c615cdbf83a6
frameworks/base: Simplified Chinese Translations

Copy of http://review.cyanogenmod.org/#/c/43192

Patch Set 2: Trigger Cid.

Change-Id: I397ea5616f4474e8b1c5cd1d39bd7f96b210f443
Merge remote-tracking branch 'cm/cm-10.1' into cm-10.1
Permissions Management (Settings - Security - App Security - Permissions)

- Manages permissions for downloaded apps

1/5) Fork the app (packages_apps_PermissionsManager)
2/5) Add to product packages (vendor/cm/config/tiny.mk)
3/5) Add to manifest (default.xml)
4/5) Framework/base changes
5/5) Settings: Security - App Security - Permissions

Change-Id: I2ddc89b47d2c018fafab25ce48eb75e63f93f4b6
Merge "Reduce number of binder calls by saving nav bar state" into cm-10.1
Merge remote-tracking branch 'cm/cm-10.1' into cm-10.1