systemui: open add tile dialog

Shows the "add tile" dialog QuickSettingsTiles activity when the user press
the add tile button in the system bar

Change-Id: I974f50806c724a400485de54589accbdde4bf70d
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Revert "systemui: open add tile dialog"

This reverts commit f9951ad9276852b5e6154a54349996a8ddbf1812.

Change-Id: If3211aceab3c92028ab07508c40bfff0813cdf34
Merge branch 'cm-11.0' of https://github.com/lis4rd0/android_frameworks_base into HEAD
Active display [squashed] (1/2)

Change-Id: I709196b232609a1dab8e9d7fdd0a6a655d487d93

Conflicts:
	core/java/android/app/INotificationManager.aidl
	core/res/res/values/cr_strings.xml
	core/res/res/values/cr_symbols.xml
	packages/SystemUI/AndroidManifest.xml
	packages/SystemUI/res/values/cr_styles.xml
	packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
	services/java/com/android/server/NotificationManagerService.java

Conflicts:
	core/java/com/android/internal/widget/multiwaveview/GlowPadView.java
	packages/SystemUI/AndroidManifest.xml
	packages/SystemUI/res/values/cr_dimens.xml
FULL ActiveDisplay Fixes/Options by codexc

ActiveDisplay: fix for disappearing notification bar
0c7588324f Browse code
maxwen authored

Active Display: Fix Derp
c6031125d0 Browse code
Der-Schubi authored

Active Display: Sort notifications by newest to oldest …
7674882824 Browse code
0xD34D authored

Active Display: Add some synchronization …
b3b33db6a6 Browse code
0xD34D authored

Omni: [1/2] Base: Fix pimp up ActiveDisplay …
434928a07e Browse code
micku7zu authored

pac : [1/2] Base: Pimp up ActiveDisplay …
b9e91f7a88 Browse code
Der-Schubi authored

Active display: Ability to turn off the screen, when a not clearable …
d047508943 Browse code
Der-Schubi authored

Change-Id: I90d74a9961169251ceac955e78803cdd369a949e
follow to kitkat changes their new fixes for active display

pulled from ChOS credit for 0xD34D

follow kitkat changes and fix ActiveDisplay never disabled after using turn off display option

pulled from omni , credit for Squadzone

using another logic to determine, when need to hide Statusbar and Navigationbar
we dont want systemui visibility reset if lockscreen still enable and ActiveDisplay force to Turn Off

Correct ActiveDisplay visibility when launch Ongoing Notifications

fix Back button navbar cant work on some conditions

since AD detect User Activity, we dont want to override UserActivity inside View, so do only if AD visibilty are Gone

also add patch to keyguard, do not reset if ActiveDisplay visibility Visible
taken from Lockscreen Notification by David L.-W <david.leppla.weber@gmail.com>

Change-Id: Ia4c1aa78e0ab2067cc071036cc8723d9e1ccf893
Base: Disable proximity sensor when screen goes on in ActiveDisplay/PocketMode.

Active Display (in Pocket Mode) currently only switches off the proximity sensor in some cases.
If the user switches on the screen itself, the sensor is left running. This change
stops the sensor as soon as the screen goes on. Active Display already started the sensor each
time the screen goes off.

PS2: In the mode that turns the screen off again when the device is pocketed,
the sensor stays on until you leave ActiveDisplay.

Change-Id: Id7afcd858f341ad929606d302c5741efa99a7c6f
Fix icons overflowing status bar view in center clock and date layout

Based on @maxwen commits
1 - https://github.com/maxwen/frameworks_base/commit/5b4d7714ea5fcc493712b569f456f655bf696076
2 - https://github.com/maxwen/frameworks_base/commit/5b4d7714ea5fcc493712b569f456f655bf696076
3 - https://github.com/maxwen/frameworks_base/commit/b5f7820e50fd03522b5462777779a4520594c796

All credits goes to him.

Change-Id: I23be4b166941159d6b5891442bfcefa3678a0603