Merge remote-tracking branch 'PA-settings/kitkat' into kitkat-remix
Settings: updating policy list after switching mobile data switch

Removed unnecessary call to updatePolicy() in the mDataEnabledListener since the setMobileDataEnabled() method already calls it.
Calling updatePolicy() with refreshCycle to true, so that the "change cycle..." option is enabled/disabled correctly

Change-Id: I2f8cfd898e663b644576626f00e38fff3ec0bbd8
Settings: notification drawer background & transparency

    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: I23f4502e3d9e97f52245bbf3b41900939bb5c4ce

Conflicts:
	res/values/slim_arrays.xml
	res/values/slim_strings.xml
	res/xml/notification_drawer_settings.xml
	src/com/android/settings/widget/SeekBarPreference.java

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: Iacefd9d02919990517823e5d800c6e018c3c68a1

Conflicts:
	res/values/slim_strings.xml
	res/xml/notification_bg_pref.xml
	src/com/android/settings/AOSPAL/NotificationDrawerQsSettings.java
Merge remote-tracking branch 'PA/kitkat' into remix-legacy
Merge remote-tracking branch 'settings/kitkat-remix' into remix-legacy

Conflicts:
	res/values/pa_arrays.xml
	res/values/pa_strings.xml
Revert "Use a toast message instead of string"

This reverts commit 27f9ade006ec8a7172ad42bbb26c990e28b942bc.

Conflicts:
	src/com/android/settings/AOSPAL/NavBarSettings.java
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
Settings: Fix the memory leak in Settings

Fixed the memory leak in both InstalledAppDetails

Change-Id: I3520b3c1fe1bf98e3baec2ee989eb215164a7cf2
Signed-off-by: Zhijun Peng <pengzhj@marvell.com>
Revert "Settings: notification drawer background & transparency"

This reverts commit 005eeac43a59b861ceb25ec422658c1f7ee103c5.
Merge remote-tracking branch 'settings/kitkat-remix' into remix-legacy
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 'settings/kitkat-remix' into remix-legacy
[2/2] Clear All Apps button added in Recent Panel

Thanks to tectas
Mine rearranged, modified and adapted.

Change-Id: If1cd49f3612676090f82098b2a21b87e36fd471b
Merge branch 'kitkat' of https://github.com/AOSPA/android_packages_apps_Settings into kitkat
[2/2] OmniGears: allow disabling haptic feedback for virtual keys

Allows disabling haptic feedback for devices with
capacitive buttons (virtual keys)

Change-Id: I8a4ceac650e611f8a110b08c9e9f7f074e4b22c4

Conflicts:
	res/values/custom_strings.xml
	res/xml/button_settings.xml
	src/org/omnirom/omnigears/ButtonSettings.java
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 'settings/kitkat-remix' into remix-legacy