Lockscreen: See through (2/2)

Add the ability to see through lockscreen.
Adapted to kitkat from jellybean by @BigBrother1984

Signed-off-by: D4rKn3sSyS <jesdga95@gmail.com>
Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS2:

* Indenting and fix of the LOCKSCREEN_SEE_THROUGH variable check.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS3:

* Add see through checkbox to security_settings_chooser.xml, reflects the security_settings_lockscreen.xml.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS4:

* Made the option available with every lock mode (PIN, Password etc.) cause it works with every mode now.
* Update description with better one.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

PS5:

* Make description more like aosp strings.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Change-Id: Ife993ffe0833be98fe582146fc071f339445bbc5

Conflicts:
	res/values/pa_strings.xml
Cleanup for commit f4a421a

* Fix brace style
* Change contentResolver
* Fix string key names and string language

Signed-off-by: Evan Anderson <evan1124@gmail.com>

PS3:

* Gerrit history changed, fixed conflicts for merging it.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Change-Id: I82d90a54fbfe5bdc48d2ea32eebd671e0303b6f9

Conflicts:
	res/values/pa_strings.xml
Revert "Disable AppOps for real."

This reverts commit 64b28a0dcc174827e551f4c7e71e4268bd0f5bba.
Volume Rocker: Hardcode music track seek option (2/2).

* The feature is enabled by default but not configurable.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Conflicts:
	res/values/pa_strings.xml
Settings: Bring back app ops

Google didn't expose app ops yet, but we want to.  Places the app ops fragment
under the System header in settings

Thanks @BigBrother1984 for the drawables

ps2: fix indents
ps3: really fix indents
ps4: fix parentActivity key name

Change-Id: I09ec8c0b6d3b681f6b008d140a93f8112814228a
Signed-off-by: Evan Anderson <evan1124@gmail.com>

Conflicts:
	res/values/pa_strings.xml
Notification LED Control (2/2).

* Make led color customizable.
* Global and per-app settings.
* Default led color is white.
* The option category replace old stock on/off checkbox.
* Remove useless code from display settings, the feature has its own java files.
* The java files in settings are stored into its own com/android/settings/notificationligh folder.
* Credits into code comments of each specific java file.

PS2:

* Use already defined string.
* Fix conflict after a previous commit merge on gerrit that wasn't linked.

PS3:

* Add other strings.
* Fix icon call.

PS4:

* More aosp style led category string.

PS5/6:

* Update Description.
* Add missing header in pa_arrays.

PS7:

* Fix variables check in notification light.
* Expose battery led indicator control in LED settings.
* Update strings and add battery category one.

PS8:

* Ditch battery led option, remove related code and classes.
* Add a boolean to check if device has led.
* Update commit description.

PS9/10:

* Fix getResources().
* Update description.

PS11:

* Fix strings confilcts after app ops merge.
* Remove battery strings.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Change-Id: I7ca73f9cf4631d44fa3020b079a8c9e84b666f41

Conflicts:
	res/values/pa_strings.xml
Settings: Notificaion LED: Fix capitalization

LED should be all caps because it is an abreviation

Change-Id: If52d3e53084a7cac225aee4d40bcfac8ec9b57c8
Signed-off-by: Evan Anderson <evan1124@gmail.com>
[2/2] settings: expandable volume panel and tweaks

Setting to disable volume adjust sounds (VOLUME_ADJUST_SOUNDS_ENABLED)
This is so annoying :)

Enhanced dialog to add checkbox for unlinking ringer and
notification volume (VOLUME_LINK_NOTIFICATION)

EDIT:
No idea why google changed the order
Media is now above ringer but in volume panel
its different. So which one to change? :)

Change-Id: Ia30bbb1c2f44d0c21cd08748bd552685810f960f

Conflicts:
	res/values/aoscp_strings.xml
[2/2] settings: expandable volume panel and tweaks

Setting to disable volume adjust sounds (VOLUME_ADJUST_SOUNDS_ENABLED)
This is so annoying :)

Enhanced dialog to add checkbox for unlinking ringer and
notification volume (VOLUME_LINK_NOTIFICATION)

EDIT:
No idea why google changed the order
Media is now above ringer but in volume panel
its different. So which one to change? :)

Change-Id: Ia30bbb1c2f44d0c21cd08748bd552685810f960f

Conflicts:
	res/values/aoscp_strings.xml
[2/2] Settings: Optional statusbar battery icons

    * Circle battery and circle battery percent (from CM <Sven Dawitz>)
    * Battery bar percent from Google
    * Quicksetting battery tile reflects status icon (from SlimROM <kufikugel>)

    - Option appears under Settings -> Battery -> Status Icon (ActionBar)

Part 1: frameworks_base

Patch set 1: clean white spaces
Patch set 2: fix conflicts

Signed-off-by: Anu6is <curtis.mayers@gmail.com>

Change-Id: Iae497e495045ca68522ab0b5bd342e044d4000f3

Conflicts:
	res/values/aoscp_strings.xml
Add fastscroll to the Manage applications screen

so you don't need to scroll so much if you have alot of apps
and want to go to the bottom of the list.

Change-Id: I96d892abf53a9da784ae1df056558d4fd3cf64f6
Update drawables for settings app

It had old drawables. Updated ones are from Android's action bar pack

Change-Id: If9cbc0b196371b138b238c847f96d4da749d154f
Move volume adjust sound option to more native place (2/2).

Our new UX concept includes saving more settings headers possible.
Move this into Volumes settings fragment. Also update description string.

PS2: Update description string.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Change-Id: I6243e27582dd0099da4b3b12b30a4e5cb8247dac

Conflicts:
	res/values/aoscp_strings.xml
Remove unused strings
Properly describe this.

Change-Id: I9eb913eb08ee972109d39ea4e56bb667485cd5de
Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>

Conflicts:
	res/values/aoscp_strings.xml
Settings: Battery Options

Until we find a suitable solution for displaying the text percentage
on the battery bar, hide the option.

Change-Id: I07cc98d3ee32c037c9dcf1f8b2ecb368c96aab47
Address the 'ART' Issue

Rather than outright remove this completely, address primary concerns:

* Add a more verbose warning message on alert dialog
* Explicitly state experimental form
* Explicitly state not supported (no bug reports)
* Explicitly state issues (crashes, bootloop, etc)

See prior discussion: http://review.cyanogenmod.org/#/c/55609/

PS2: Linkify

Change-Id: Icf103b5576c8e93f8a30ccd348476bf207401355

Conflicts:
	res/values/aoscp_strings.xml
Only show ART information if switching from dalvik to ART

We do not want to confuse users with a big information dialog, if
they change from ART to dalvik as dalvik is still the official
solution, supported and considered safe.

Change-Id: I0ce4846e0bb751e87e5c410e668d4bc521380141
Fix: Ensure lockscreen see through setting persists after reboot

If see through was enabled and the device was rebooted,
the user had to toggle the setting off and on again to activate.

Change-Id: Ic743986d9b0abae138e2291864ce527c4f9ff864
Fix: app icon sizes in notification lights