summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorDave Tharp <dtharp@codeaurora.org>2015-06-24 13:32:46 -0700
committerjrizzoli <joey@cyanogenmoditalia.it>2015-08-28 13:15:45 +0200
commitc7ecda84fdab99a4a1b35463c4d934a9645789dc (patch)
tree71df23a89f366442473c18cdcf158c44eb0ad5a9 /res
parentc9bc0b6d3b8042a02325d84513d155b9caf25d41 (diff)
downloadandroid_packages_apps_Gello-c7ecda84fdab99a4a1b35463c4d934a9645789dc.tar.gz
android_packages_apps_Gello-c7ecda84fdab99a4a1b35463c4d934a9645789dc.tar.bz2
android_packages_apps_Gello-c7ecda84fdab99a4a1b35463c4d934a9645789dc.zip
MDM Auto Fill Restriction
Implementation of MDM form auto fill restriction. When enforced, the auto-fill menu item is greyed and unchecked, and if clicked, results in the "Managed by your administrator" Toast message. Disabling the restriction checks the menu item checkbox and ungreys the menuitem, restoring full control of this feature to the user. This patch also includes minor refactoring of DoNotTrackRestriction. Change-Id: I2f36ea9263a70f0a9470900c3abc48d9376a4604
Diffstat (limited to 'res')
-rw-r--r--res/xml/general_preferences.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/xml/general_preferences.xml b/res/xml/general_preferences.xml
index 7571a6a1..75b4600f 100644
--- a/res/xml/general_preferences.xml
+++ b/res/xml/general_preferences.xml
@@ -57,7 +57,7 @@
android:summary="@string/pref_nightmode_enabled_summary"
android:title="@string/pref_nightmode_enabled" />
- <SwitchPreference
+ <com.android.browser.mdm.MdmCheckBoxPreference
android:layout="@layout/swe_preference"
android:key="autofill_enabled"
android:title="@string/pref_autofill_enabled"