Remove double highlight from 'up' actionbar

Change-Id: I31699709b0de89a7f49b2c807678b1273a9c56aa
Frameworks: PowerMenu options

PS2: Added necessary stuff for the screenshot action
PS3: Now uses VanirAwesome, awesome!
PS4: Removed a single whitespace

Change-Id: Ibcb4b0c6f1126dcb4e741689ff6d601adf4b3790
Revert "Fix error when cpufreq is loaded at runtime"

This reverts commit bf363e7de8038bb1366ff743ca4cabf64d3c7065.

Conflicts:

	core/java/com/android/internal/os/ProcessStats.java

Change-Id: If6751f763d1d6972e5d4963e18899839845d0f4c
interrupter: Use LOCAL_LDLIBS rather than LOCAL_LDFLAGS

Change-Id: Ide7d3e7962d8dda6f41ca8ba89acf75fa1c86e40
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
statusbar: performance and fixups

kill debugging simplify and improve..
fix status brightness slider
fix NFC toggle not working until shade is collapsed
fix expanded toggle not working until shade is collapsed
remove empty onLongClick listeners
static hashmaps
consolidate content observers since their sole purpose is to refresh toggle
    state when the setting is toggled from elsewhere in the ROM

Change-Id: I70e2e1233a2faaf5b374bcdd4ec2f5075a09dedc
Fix unresponsive home key after waking device with a long press

With the lockscreen disabled mHomeConsumed would not be properly set back to
false upon releasing the key, causing a subsequent press to perform no action.

Change-Id: I38eeba5850c2f0474cc4cca82a9dcbf17afa4665
move getInt from collapseallpanels

SystemUI is restarted every time the UI is changed.. so any change
will already be reflected here

Change-Id: Ie8485055b7fb5b13a7b63fb6685588ef2b6b67d4
VanirActions: add reboot menu

reboot menu can now be set as a navring, navbar, or desktop shortcut.
i'd like to get a better icon for this at some point.

Change-Id: Ied7f9d7b662a1eec41e8311385ffdf50ea2b85c8
Powermenu: Delay screenshot by 1000 ms

Change-Id: I30382da6e12f913d7747f0f3eb9fc3eedcdcce39
Port "Option to control cursor in text fields using volume keys (1/2)"

This feature is moved to framework so it also works with third party keyboards.
Patch Set 3: Added missin @hide statements

Change-Id: I8e20240e7bee5351ab20bb3d701eb95a5fd3e112
Fix issue that prevented us from fixing emulated storage as su

Revert "Add the possiblity of using secondary storage for user 0"

This reverts commit e85dabb1d721e5fea166ade1ac6809f70f9091fa.

Change-Id: I4c5779133914119d8b5e66f9d7afb118ecbe4040
Lockscreen music controls

fixed etc.  This feature originally appeared in CM i think

Change-Id: I1bec14d3e7f48bad745e72b23c9e08afb6d28973
Fix for the low processes kept bug

memoryInfo was not initialise properly

Change-Id: I3b1f1fac92a59a0a18b63625b66d33dc24b17086
Merge "Fix for the low processes kept bug" into jb43
quicksettings: halo tile

FRRRRRT..  we have a pie one so FRRRRT.. lets FRRRRRRRRRRRRT..
add a halo tile.

Change-Id: If9717cca2be8da6da365d1b65622ec63473edabe
fix navring screenshot and return screenshot to main navbar prefs

Change-Id: I429d0dc21ae98b88afecc1ffba7eb2e7a918d725
privacy guard: changes part 1 (1/2)

the new cm implementation from our privacy guard is not the best.
Some changes we needd to do next week. For first give back the ability
to filter critical apps + do not show apps without any permissions

to do
- enable only the critical permissions the app is using
- add another active icon to notify the user if he modiefied another permission then the default ones
- add ability to disable notifications

Change-Id: I59fac120dd00126533e99cb65f5136b11f42e20b
Signed-off-by: Dan Trifan <jimsth@gmail.com>
Frameworks: Privacy Guard part 2 (1/2)

Current implementation does not really merge both awesome features
appops and privacy guard. As well it is from UX perspective too complicated

So this commits changes:

- Move int array to logical correct place AppOpsManager
- Switch only the privacy guard permissions which the app
  really requests and not all...this irritates the user
- give support for custom permission set and reflect this state
  with an icon in notification and pgm
- add pack filterpermission feature due that user mainly are interested
  in the apps which use critical personal data
- permit by default as well writing off personal data
- do not show apps where either permissions are not changeable due
  off appops or apps which do not have permissions at all
- ability to hide pg notification
- remove pg checkbox in InstalledAppdetails and add a button to
  modify appops. Button is disabled if either the app does not have
  permissions or appops does not support it. As well for platform
  certificate apps
- add on appops detail screen reset and privacy guard button to quick
  change all states
- rework of the complete dialog handling in pgm and add several dialogs
- move all notify icon for pgm and notification to frameworks base
- and a lot more minor fixes and fc fixes

cheers

PatchSet:
- correct privacy guard filter logic
- add pgm map
- add status icons.....PGM shows either off/partly enabled/enabled
  in addition to it other set permissions shows a red plus sign on
  the top right corner of the PGM icon on all states
- tapping on PGM and menu pgm button on detail appops screen turns on/off
  only PGM permissions to be more consistent
- some minor fixes

Change-Id: I990a6c7f25cdee5febdb95c1e26c022d6bcb27e0
Signed-off-by: Dan Trifan <jimsth@gmail.com>
[1/2] Add battery level around unlock ring

Change-Id: Ia4dbc2335657c096c34349ec67c4adfec0aeb91b
Signed-off-by: Dan Trifan <jimsth@gmail.com>
Remove dead code.

This hasn't been used since at least 2011, and we're no longer
shipping the data supporting it either.

Change-Id: Ibe42057650b49794c65d6f0d54ed7a492f3b594b