Improve notification shade collapse code.

- Collapse after dismissing the last notification
- Avoid duplicate code paths for collapsing
- Improve variable naming according to AOSP review suggestions

Change-Id: Ic6f26a61f263c5beebbcc9725fe8914d3858576f
Make notification-shade-collapse-after-dismiss behaviour configurable.

Change-Id: I1be0be2753b479e6d2e4fc8e17d971d03ce01bb7
Show advanced reboot if using an insecure lock screen

Enables the advanced reboot menu when locked if the selected lock method
is insecure (= slide unlock).

Change-Id: I759b7b31c5411597e2537a85183d73ec02eb2461
android_os_SELinux : Use empty array to instead of NULL to avoid the DevicePolicyManagerService cannot start when the SELinux is disabled.

                     Error log
                     07-24 10:32:14.408 F/SystemServer( 1676): BOOT FAILURE making Device Policy Service ready
                     07-24 10:32:14.408 F/SystemServer( 1676): java.lang.NullPointerException
                     07-24 10:32:14.408 F/SystemServer( 1676): 	at com.android.server.zh(DevicePolicyManagerService.java:2628)
                     07-24 10:32:14.408 F/SystemServer( 1676): 	at com.android.server.DevicePolicyManagerService.systemReady(DevicePolicyManagerService.java:1251)
                     07-24 10:32:14.408 F/SystemServer( 1676): 	at com.android.server.ServerThread.run(SystemServer.java:941)

                     Patch Set 2: Append the error log.

Change-Id: I31be031c356ef8e293de0395feefb34ced628341
Frameworks/base: Update italian translation

	Changed AOSP strings for SELinux

	PS2: ported strings to custom file cm_strings.xml
	     (see http://review.cyanogenmod.org/#/c/45727)
        PS3: Cid trigger
        PS4: Cid trigger

Change-Id: Iedafc7f598a80682dcabce4c71fb9c921bf3da25
Enable Estonian language

AOSP translations are present, but not activated

Change-Id: I8cf7d0c128a5f12da5440882e6f2e8e91ccf57c5
Merge "Frameworks/base: Update italian translation" into cm-10.1
Merge remote-tracking branch 'cm/cm-10.1' into cm-10.1
Merge "Improve notification shade collapse code." into cm-10.1
Merge "Make notification-shade-collapse-after-dismiss behaviour configurable." into cm-10.1
Merge remote-tracking branch 'cm/cm-10.1' into cm-10.1
Core: NL translation

ps2: move changes to cm_strings

ps3: trigger fixed cid

ps4/5: remove quotes

Change-Id: I3b4a0fa8dbc8eac84aee9d5f59a8fbd5caa3fd82
Merge remote-tracking branch 'cm/cm-10.1' into cm-10.1
Merge "Show advanced reboot if using an insecure lock screen" into cm-10.1
Merge remote-tracking branch 'cm/cm-10.1' into cm-10.1
Core+SystemUI: DA translation

Change-Id: Id7a9c86fb3e0d481584c5d8ba550ee0510c17b26
Core: Update German translation

Change-Id: I420582b812de3d7f67e2434ee422ac1fc1658cb8
Merge remote-tracking branch 'cm/cm-10.1' into cm-10.1
Merge "Core+SystemUI: DA translation" into cm-10.1
Merge remote-tracking branch 'cm/cm-10.1' into cm-10.1