PrivacyGuard: confirm permissions reset

The button to reset all application permissions to enabled looks
suspiciously like a refresh button. Prompt the user with a confirmation
dialog to make sure they know what they've pressed.

Change-Id: I0444c5bf8e9533feccf890055d34d3200609c6f6
[1/2] Settings: HALO Forward port from jb43.

PS1 : Initial port
PS2 : Fix conflicts with notification LED
PS3 : FIx derp in strings
PS4 : Fix derp in pa_arrays (tag not closed)
PS5 : HALO Mods
PS6 : Update pa_arrays & pa_strings
PS7 : derp: rmv pesky file backups
PS8 : rebased Clean some white spaces removed some settings
PS9 : Rebase
PS10: Remove unused resources
PS12: Rebase

Change-Id: Ia6c334dbf2eafc2cbf55b21613be7f42f48789d5
Power menu QS tile (2/2)

- Simple press goes to power menu dialog
- Long press goes to reboot dialog

Change-Id: Icbf64f014d1352d16823caf7bc7c0eec1e0c47d3

Conflicts:
	res/values/cr_strings.xml
Power menu into navring targets (2/2)

Change-Id: I95644d60b2d4db6d109bd4c75c007a43af52a2fa
crDroid version in settings

Change-Id: I305685062509c617b1292a3d508f1bd87135744f

Conflicts:
	res/values/cr_strings.xml
Navigation bar dimensions (2/2)

- Change height when in portrait
- Change width when in landscape
- Option to enable or disable nav bar

This is partially ported from SlimRoms
Thanks to @kufikugel

Change-Id: Icac45d5c74f1722c1d044c6651ea686e95beade4

Conflicts:
	res/values/cr_arrays.xml
Enable Volume wake option

Change-Id: I63a4fb96fd245c892a5c7063451b2108a56365da
Settings: Advanced low battery indicator options (1/2)

Based on a idea I saw on Liquid and from CR3C0 (thanks guys) which we
modified to an extended version
This commit introduces following new SlimBean modes to indicate low battery
     * 0 = show dialog + play sound (default)
     * 1 = fire notification + play sound
     * 2 = show dialog only
     * 3 = fire notification only
     * 4 = play sound only
     * 5 = none

Due that notification is a unique SlimBean feature some words on it. Notification
behaviour is the same as Pop-up. User can dismiss it manually or it is
dismissed automatically if charger is connected, click on notification opens
PowerUsageSummary. Also you get a status bar ticker message about the notification
and notification is always on first place of list. And last if vibration is enabled
notification vibrates.

Change-Id: I5f65c1f23a8f2a9790ca003be6a8ef09a06335c2
Lockscreen: See through (2/2)

- Based on @BigBrother1984 implementation from this commit: 4e061d4b26b06499b3eddfaaf3564094851a4c2a

Change-Id: I11f3fa8ef477d08e4a9398099206f1a7ae3b6d8d

Conflicts:
	res/xml/lockscreen_interface_settings.xml
	src/com/android/settings/cyanogenmod/LockscreenInterface.java

Conflicts:
	src/com/android/settings/cyanogenmod/LockscreenInterface.java
Settings: Security: implement a pin keypad shuffler [2/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

PatchSet:
- fix checkbox was wrong assigned
- enable only for PIN Password lock
- small cleanup of old code

PatchSet:
- cleanup

PatchSet:
- add modes.....disabled/always/on request

Change-Id: Ic44d7bd593033843691ecd553d1decb7c15ffd68
Settings: Lock before unlock the new way (2/2)

for more information see fb commit please.
target selection if lock before unlock is activated
will be enabled and shows the repective settings dependend
on if it is a phone or tablet

Based on @kufikugel commit (97d8a510e90a7bad58d8691d6f83c6e64d2b907b) and adapted to work in LockscreenInterface.java of CyanogenMod

Thanks to him!

Change-Id: I60b114e2c7c5adffd079be0ba44ee31d1f02990e

Conflicts:
	res/xml/lockscreen_interface_settings.xml
Extended QS options (2/2)
- 3, 4 or 5 tiles per row
- Duplicate tiles quantity in landscape mode

Change-Id: Icc4eef0a80ada1a70ba9a8aff643188bd9477c78
Fix interface settings crash for devices without navbar + enable all expanded desktop options to all devices

Change-Id: Ifaedabdf9915bf0e9b228e145c8cac29145c65d4

Conflicts:
	res/xml/system_ui_settings.xml
Custom clear recents button (2/2)
- Option to show/hide
- Option to choose which corner to place (top left, top right, bottom left, bottom right)

Thanks omnirom team
Original commit: https://github.com/omnirom/android_packages_apps_OmniGears/commit/89818412841d558057c2b906bc3fd78f3c9adf13

Change-Id: I740c26906527e7300e962129f3435b5b90b6b721
Colorpicker Margaritov

Change-Id: I79c7c2d63a5e2d2cab280ba2ca3564fdc742e08f

Conflicts:
	res/values/cr_strings.xml
RAM bar (2/2)

Change-Id: I0f47445618a991e310923e2b85e180e921c57742

Conflicts:
	src/com/android/settings/Settings.java
Settings: notification drawer background (1/2)

    so after keyguard is mostly done let us start notification drawer
    and QS. First one custom background.....either color or picture
    with custom alpha and ability to set a landscape picture seperatly
     if the user want. (lanscape phone only)

    Compared to the 4.3 included version completly recoded and better
    integrated. No idea what I thought 1 year ago on the old implementation

    cheeers

Change-Id: I1c8a1f1256d96c6ea5c1b160814b9aa6835318f3
settings: notification transparency (2/2)

this add back notification transparency...compared to 4.3
it controlls as well the notification icon backgound transparency
which felt in the past dissplaced. As well codecleanup of the old
implementation.

largeIcon support I did not add due that google does not support it
as well at current status...it is only a placeholder in
NotificationData

Change-Id: I2f831fc3008d630e099f7fb60d56ea87636a4862
QS tiles custom backround (2/2)

Original commit: https://github.com/SlimRoms/packages_apps_Settings/commit/fea8eee396b8b067bb67b3fabd0c05b0f6980861
Thanks @kufikugel

Change-Id: I3825b5081fbf4d5bc2942f479fb3f2c3b9fdd655
Settings: Clean up SeekBar

Change-Id: If214c49eaad012a4d603a41af6c7f733c9f1ba83