Settings: PowerMenu options

PS 2: Worked on moving the Expanded Desktop Preference into the PowerMenu area
Change-Id: I3cff3decf8aabbf3b7c13924c1e1922d79e523b0
clean up stains

rebase
Change-Id: I11f4439802884acb761bc291d28dc81520e8f441
Revert "Completely remove app ops activity."

This reverts commit c8ee999b9df706209aeb1f230574131a032fef27.

Change-Id: I0d0078f7e37717952fe48ec4b5024e75cc5af6bb
Merge "Revert "Completely remove app ops activity."" into jb43
Port "Option to control cursor in text fields using volume keys (2/2)"

Change-Id: I8dad625fd0fa7c56111814ef6b950bd04f2460ae
lockscreen music controls

port (found in Carbon) of CM feature to hide/enable music widget on lockscreen
written by Danny Baumann <dannybaumann@web.de>

Change-Id: I9ecff439526bfcdaa9352a9dcc59cce5586f13ec
clean up more stains

Change-Id: I9e406f11be28596dbbbc05c24f1c615255d828dd
quicksettings: halo tile

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

Change-Id: I3693fdf64d3d4d3fcdba83939fea1e9ba96d72a7
privacy guard: changes part 1 (2/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: I38207cb2639a2dc7f56bdce4ba2b9c4d325efe4a
Signed-off-by: Dan Trifan <jimsth@gmail.com>
Settings: Privacy Guard part 2 (2/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

PatchSet:
- remove permanent appops filter in pgm
- add hint on appops detail screen if no permission can be set

PatchSet:
- save listview state when calling another activity and going
  back

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

Change-Id: Ia07ecc1feedee71b8ea217c53244fdef9ff1bc18
Signed-off-by: Dan Trifan <jimsth@gmail.com>
Add longpress to settings tile to open Vanir Customizations 2 of 2

Based on slim commit https://github.com/SlimRoms/packages_apps_Settings/commit/16d54a7df6453bbff8c072e4b6ed2ac91a06eb87

Author: tchaari
In the same vein as settings tile add long press to Pie and Halo to directly open their settings 2of2
Merge remote-tracking branch 'upstream/jb43' into jb43

Conflicts:
	AndroidManifest.xml
	res/values/arrays.xml
	res/values/strings.xml
	res/xml/vanir_settings.xml