HALO: add option to depend on Pie (1/2)

PS2: it works now, kinda

PS3: fixed, now it works properly

Change-Id: I7f999f45bfd18382ef22a254a18cafda84861d32
Signed-off-by: Dan Trifan <jimsth@gmail.com>
Signed-off-by: scotthartbti <scott@ubuntu.com>

Conflicts:
	core/java/android/provider/Settings.java
HALO: Fix memory leaks
Revert "HALO: add option to depend on Pie (1/2)"
Ill add this to my to-do list.

This reverts commit 4f41d8bd939223aaf78cd93b1d786c813d941068.
Updated the Ram Bar to show GB instead of MB if available
Signed-off-by: Chris Conley <chrisc93@vt.edu>

Change-Id: Icd1485e6b03056a3f47ef83ee24c94fa47e75074
Finally fixed the RamBar decimal issue.

Change-Id: If1a731617987177af9b0fac66d0875970bcaa596
Signed-off-by: Chris Conley <chrisc93@vt.edu>
Keep on notification LED while dreaming.

Change-Id: I407e34f9c60d3140f78abca133b4fda5dd45f311
JIRA:CYAN-689
Fixed derp...

Change-Id: I67cb9d83c1a12bee35e18e25fd143a8a2e77d172
Signed-off-by: Chris Conley <chrisc93@vt.edu>
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
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
Frameworks: a bit taste of android 4.3

most changes are under seems to be under the hood and are
not mergeable due that we have no code...... UI changes
are minor....but our lovely Roboto font is pimped up on the
new android version. So here we go

cheers

Change-Id: I139bcdeaefe5125ba8974fc88423c62d62b1b429
Frameworks: add reset option to clock color and cleanup (2/2)
+ Overhaul clock source code
to be consistent. So we have now on all places with colorpicker
same logic + option per menu to reset color to default.

as well some cleanup and codestyle corrections

cheers

Change-Id: Ife006425ee769feb438497d6483f520c7b1f236e
Signed-off-by: scotthartbti <scott@ubuntu.com>

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/policy/Clock.java
Update clockstock (part of last commit)
Signed-off-by: scotthartbti <scott@ubuntu.com>

Change-Id: I31a88574344961b81e67ebf6837a783796057022
Fix possible FC on clock and date @notification drawer

cheers

Change-Id: I97ee87703274e37241f312266390c2fb240931b6
Signed-off-by: scotthartbti <scott@ubuntu.com>

Conflicts:
	packages/SystemUI/res/values/strings.xml
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
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
Add option to hide music controls in lockscreen.

JIRA:CYAN-1566
Change-Id: Iae3dd9914b1685c6bf1e39e421372ce0bdfb93cc
Add an option to allow a (subtle) notification vibration during calls.

Change-Id: I8a5e1d15d17d56089158b24f9a4b246ae6e60285
JIRA:CYAN-1550
Signed-off-by: scotthartbti <scott@ubuntu.com>

Conflicts:
	core/java/android/provider/Settings.java
	services/java/com/android/server/NotificationManagerService.java
NotificationManager : Fix security exception

If the call is from a user process, using USER_CURRENT_OR_SELF avoids a security
exception in such cases.

Change-Id: I2f25917ecfabc80d3a193d63020ad11480edf8ec