On-the-spot preferences

Allow for handling of resetting multiple preferences individually.

Present the user with a list of active on-the-spot preferences to
choose from.
If a preference dialog was never presented to the user, it will not
be available for reset.
If only one preference is currently active, a simple reset dialog is
presented (current existing dialog / no list)

PS1: Initial commit
PS2: Use defined strings instead of decoding the SETTINGS_TO_RESET variables.
     This allows for string translation.
     String names should be equivalent to the SETTINGS_TO_RESET variable.
PS3: Add some error checks

Change-Id: If9c483e0745000ab486f060bf87756204b4a8e6e
Lockscreen shortcuts: Fix icon pack usage

Change-Id: I1497cece97f90c76c3930a3a004a2d40416e13ed
Return: Always show battery on Keyguard [2/2]

Based on the feature by burnsra in CM7

Authored by blunden
Tweaked  by dvtonder
Tweaked  by kufikugel

PS 4 : Fix multi-user

Change-Id: I834dd4c7e742c1f0537773c0af6b6ece5b1c306d
Merge remote-tracking branch 'PA-settings/kitkat' into kitkat-remix

Conflicts:
	src/com/android/settings/PrivacySettings.java
Revert "On-the-spot preferences"

This reverts commit b83617d58e7f00f98f4173a109c2e3a41aeea95e.

Conflicts:
	src/com/android/settings/PrivacySettings.java
OmniGears: make easy to add a checkbox preference

based from Cyanogenmod, but im adding more preferences :D

use SystemCheckBoxPreference if you want adding option for Settings.System
use SecureCheckBoxPreference if you want adding option for Settings.Secure
use GlobalCheckBoxPreference if you want adding option for Settings.Global

example:

we always using like this

    <CheckBoxPreference
        android:key="soft_back_kill_app"
        android:title="@string/soft_back_kill_app_title"
        android:summary="@string/soft_back_kill_app_summary"
        android:persistent="false"/>

and put preference into java code

but with this patch, we can use like this

    <org.omnirom.omnigears.preference.SystemCheckBoxPreference
        android:key="soft_back_kill_app_enable" << put key from android.provider.Settings
        android:title="@string/soft_back_kill_app_title"
        android:summary="@string/soft_back_kill_app_summary" />

the preference will always use presistent command

no need to add this preference into java code again :)
and say goodbye to bad java code style xD

will make all checkbox preference using this, if merged :)

depends on https://gerrit.omnirom.org/#/c/5789/ :)

Change-Id: Ied880d49ccc60c1e02615eccc6d01ddbd30bddf7

Settings: make easy to add a checkbox preference

based from Cyanogenmod, but im adding more preferences :D
use SystemCheckBoxPreference if you want adding option for Settings.System
use SecureCheckBoxPreference if you want adding option for Settings.Secure
use GlobalCheckBoxPreference if you want adding option for Settings.Global
example:

we always using like this

    <CheckBoxPreference
        android:key="soft_back_kill_app"
        android:title="@string/soft_back_kill_app_title"
        android:summary="@string/soft_back_kill_app_summary"
        android:persistent="false"/>

and put preference into java code

but with this patch, we can use like this

    <org.omnirom.omnigears.preference.SystemCheckBoxPreference
        android:key="soft_back_kill_app_enable" << put key from android.provider.Settings
        android:title="@string/soft_back_kill_app_title"
        android:summary="@string/soft_back_kill_app_summary" />

the preference will always use presistent command
no need to add this preference into java code again :)
and say goodbye to bad java code style xD

will make all checkbox preference using this, if merged :)

depends on https://gerrit.omnirom.org/#/c/5789/ :)

Change-Id: Ied880d49ccc60c1e02615eccc6d01ddbd30bddf7

res/xml: Use new SystemCheckBoxPreference location
Merge remote-tracking branch 'upstream/kitkat-remix' into kitkat-remix