FW: Option to hide Camera widget from lockscreen (1/2)

PS2: Update SettingsString Typo

Change-Id: I531e16ffe2c789b8d9987ca89673d96fd8927f32
AppOps improvements

f51639beb86c9b6c3ecb77512ad6256d481bcc66 [2/2] AppOps: Add per Op allowed and ignored counters
2ba02cf19c4a2b23e1ae8879ebe4e7b348b27093 [2/2] AppOps: Add alarm wakeup op
23b07248cd7b1aa3be1ea9a9b7158fa46221e0c6 AppOps: Update Cherry-Picks
66d8936c93439dacb986314e1d880b78c360d627 AppOps: Add support for whitelist of packages.
2898e4ba88786cba785e65cb670ddb259c206af4 AppOps: Add Bluetooth enable control into AppOps
3447900866e5ef8bec34883ccc4268acde402c43 AppOps: Add data connect control into AppOps
baf099de3173e14b5829a3cd3edbea4088b22616 wifi: Confirm user permission before toggling wifi.
d559105a4a176c28e6d820f61d5867318e680558 AppOpsService: Add MODE_ASK support to AppOps.

Change-Id: I191e1ca3837f3dfb6b0932204a92b8aacb5013ef
privacy guard: changes part 1

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: I35507796cc14ce5c39177c6c47538db135f16ed7
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: I060cfefd847a6c8824cde913b6b3ea30440965d9
Frameworks: Policy: implement a pin keypad shuffler [1/2]

this is to further prevent people using the tablet guessing your pin based on fingerprints left on the screen
example of the expected outcome - https://www.dropbox.com/sh/r3xb2q53ksaqni9/Oz1Eu8Dm7O

- correct coding style
- added reload button

PatchSet:
- simplify shuffle code
- fix over shifting in some cases
- add reload button functionallity
- add lockscreenutils method to detect only PIN lock
  for settings
- exclude sim and simpuk PIN lock
- add drawables for reload button

PatchSet
- cleanup

PatchSet:
- fix shuffle NumKeyPad even if a theme replaces the xml
  and reload button is not present.

PatchSet:
- add mode disabled/always/on request

cheers

kufi

Change-Id: If4b387f43b06ecc91e06ae420a21697d39cda75b
suspend actions (1/2) && wakelock blocker (1/2)

Change-Id: If4be7f212155f65f9d240c827203f5a68c673bf7
Pie: Add master switch to disable Pie (1/2)

Change-Id: Iff8624a7b8317246992742c9953f41a9d3f9b205
MediaScanner behavior on boot (1/3)

Change-Id: Iadb00213abfde4332d3095f8c6654f99ed5bfb52
Active-D: Make GlowPadView center the current notification icon for us

sudo makemeasandwich

ps2: make scaling both smarter and stupider SIMULTANEOUSLY

Change-Id: I582f387fd3c1c83f2bbd0d31a4b43e22d1b82d63
Signed-off-by: nuclearmistake <nuclearmistake@gmail.com>
CircleBattery: Turn green when plugged in at 100%

Change-Id: I86e93b75215e9674907bfcb7d4dfcf412bf32ce9
[WIP]Multi Window

Trying to port - https://gerrit.omnirom.org/#/c/53

PS2: removed white spaces -.-
PS3: missing stray comma -.-

Change-Id: I2eac6d3d2bcca45dc0df465a40765b06b3f20f52
Revert "framework: Split off some packages to a new file"

This reverts commit 42f644c8122101532dcbcc429c25f2db4f7f0b60.
Revert "Gesture Anywhere: Add gesture anywhere feature into the ChaOS Lab [1/2]"

This reverts commit 3d0e48ea46e07a4a669ec1c75bf9f207c928b559.
Revert "Active display: Don't show active display if call state is not idle"

This reverts commit 1418c4c911c133c097493799f67167afaefd1337.
Revert "AppBar fixes"

This reverts commit cbf023b2b8b8a623a108b61253da7c0769e7e5f4.
Revert "More Active Display stuff"

This reverts commit abc248bad2c0153ccac6bad787029bf71bbe1bee.

Conflicts:

	packages/SystemUI/src/com/android/systemui/statusbar/policy/activedisplay/ActiveDisplayView.java

Change-Id: I38b474888392a68adb25fe05208e605177af6f1b
Revert "FW: Active Display [1/2] + AppBar fixes"

This reverts commit dcb81acde1fe5733cf47fc4ab72b18f37e27de70.

Change-Id: I83bd0eaa80a928b861c61a1c47a3f350d4867629
Revert "Add RegulatoryObserver to framework base services"

This reverts commit f374528aed3379ed8d068cf6c041441eb8abcf6a.
Revert "p2p: Fix for discovery failure until AP is connected in WFD client."

This reverts commit 5d6fd837f21f526d7d75a1829b7821adc460a1f1.
Revert "P2P: Do not restart SAP/P2P Go if its operating in 5G."

This reverts commit 39cef5af43e2fe0ee110988abbce7ced1d2a4b1c.