diff options
author | Khalid Zubair <kzubair@cyngn.com> | 2015-11-24 09:32:26 -0800 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2015-11-25 12:53:15 -0800 |
commit | 4536e5ce25f5214281550f4a21cbb83e3acfe598 (patch) | |
tree | 6777873d59c678b739fc89f630b1008a4568803f /res/xml | |
parent | 0079f521ff38f74ad8555ffb310900b6c7988990 (diff) | |
download | packages_apps_Settings-4536e5ce25f5214281550f4a21cbb83e3acfe598.zip packages_apps_Settings-4536e5ce25f5214281550f4a21cbb83e3acfe598.tar.gz packages_apps_Settings-4536e5ce25f5214281550f4a21cbb83e3acfe598.tar.bz2 |
perf: Add CM secure settings for app profile pref
Implement CMSecureSettingsSwitchPreference to handle CMSettings.Secure
preferences.
The `app_perf_profiles_enabled' pref is defined in CMSettings.Secure
and without this fix it cannot be changed.
Change-Id: Ic85def69e4d120051a95fa64e6539f9771ec6628
Diffstat (limited to 'res/xml')
-rw-r--r-- | res/xml/power_usage_summary.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/xml/power_usage_summary.xml b/res/xml/power_usage_summary.xml index 76d4e0f..594d0ac 100644 --- a/res/xml/power_usage_summary.xml +++ b/res/xml/power_usage_summary.xml @@ -25,7 +25,7 @@ android:title="@string/perf_profile_title" android:persistent="false" /> - <com.android.settings.cyanogenmod.SecureSettingSwitchPreference + <com.android.settings.cyanogenmod.CMSecureSettingSwitchPreference android:key="app_perf_profiles_enabled" android:title="@string/autoperf_title" android:summary="@string/autoperf_summary" |