am: Fix the privacy guard notification

 * The privacy guard notification was not showing everytime. Fix the
   logic and handle it in the right place so it hits both the create and
   resume startup path.

Change-Id: I80c88ffb0fcb4ed3ea64ceb228bb436975278ecc
Add SMS Middleware layer.

Add fix so ordered broadcasts are delivered to system
apps first in the event of a tie. This works around
the issue where terrible apps steal SMS notifications
from the broadcast queue to simply prevent notifications
that could otherwise be removed by a toggle.

Change-Id: I4fff0c584f8fce9c5f2f4fe86a82fe6480c307c7
Frameworks_base: PT-BR update translations

Change-Id: I7a76e50b14664654e1bee0a0d59ae73c2748ea3a
Core: HU translation

PS2: Correcting...

Change-Id: I3962a875e71348a4506a5409db4b2d357838ee30
core: NL translation

ps1: framework: Privacy Guard
and change application -> app for English

ps2: Profiles: Add a profile picker activity

ps3: suggestions

ps4: Add SMS Middleware layer

Change-Id: I826e62dfb79cdbac1482a34fe8c35da77a6a83ed
Correctly release lockscreen lock on tile destroy.

Change-Id: Idc5f9be9a42a800570bcf63118be293ed7760f5f
When DPM is updated while lock screen is inhibited, don't
unconditionally enable lock screen.

Change-Id: Iab2af06eb8e41fbcfc6adfbeb5b42a9bbf446fe9
Delay closing the notification area after swiping a little closer.

Use the same value as when removing all notifications.

Change-Id: Id11a48bc47487fd7763503dcbc769d9dbf5ad16a
Merge "am: Fix the privacy guard notification" into cm-10.1
Frameworks: privacy guard fix possible NPE

If the user flash a data app over recovery on clean flash
(like a lot themed apps or gapps packages are doing)
the user will get into a bootloop because of an NPE
due an unknown state of the user due that
installedUser == null

To fix it
Check if installUser exists if yes then
call the provider settings value for the current
user

PatchSet 2+3: message update
	      fix for real now

Change-Id: Ie5f94a0d0a11ae24fdfdc8372c0433b26793b66e
Core: RU translation

Change-Id: If8a8a0646c12abc8bbc5a45ea174229974c48232

Patch Set 2: Update translations

Change-Id: I88d0fb8af7c0de9f3f98b102d1b9a85d2fb7bd65

Patch Set 3: Update translations

Change-Id: Ie1c7db36fa1d8797bf8a829035fda85e3937d759
Send out USER_PRESENT broadcast on screen on if lockscreen is disabled.

This makes sure to turn off the notification LED on screen on when the
lockscreen is disabled by profile or e.g. by lockscreen toggle tile.

Change-Id: I0f6a5f9a021abd2799c22c744ab1180cee027409
Don't consider input restricted when the lockscreen is disabled by an
app.

Fixes the secure lockscreen occasionally appearing when disabling the
lockscreen via tile.

Change-Id: I078584d0235c1cc958f89ce12ddf3cc1117a5687
Base: CS translation

- new perm - intercepting SMS
- unified privacy guard translation

Change-Id: I2abf86f339ad88fbae5407b2580458a72f6f82fb
Merge "Correctly release lockscreen lock on tile destroy." into cm-10.1
Add option to hide music controls in lockscreen.

JIRA:CYAN-1566
Change-Id: Iae3dd9914b1685c6bf1e39e421372ce0bdfb93cc
Update German translation.

Change-Id: I3c53492e70dccbf8515b4628c424dcf5aa378e47
Merge "Update German translation." into cm-10.1
Merge "Send out USER_PRESENT broadcast on screen on if lockscreen is disabled." into cm-10.1
Merge "Delay closing the notification area after swiping a little closer." into cm-10.1