diff options
author | Dave Tharp <dtharp@codeaurora.org> | 2015-05-15 15:54:08 -0700 |
---|---|---|
committer | Dave Tharp <dtharp@codeaurora.org> | 2015-05-15 15:54:08 -0700 |
commit | b487d5d9ab5ddec76efb5c9dc48fa69259e3c06a (patch) | |
tree | 51f075f221e57a3e7da991bfc02d1a69fdc58c2e /res/xml | |
parent | 6bdf645d7d3b1339b539efae3a743e1cbcd528f7 (diff) | |
download | android_packages_apps_Gello-b487d5d9ab5ddec76efb5c9dc48fa69259e3c06a.tar.gz android_packages_apps_Gello-b487d5d9ab5ddec76efb5c9dc48fa69259e3c06a.tar.bz2 android_packages_apps_Gello-b487d5d9ab5ddec76efb5c9dc48fa69259e3c06a.zip |
MDM Do-Not-Track Restriction
Implements handling of MDM enforced restriction preventing the user
from updating the 'Do Not Track' checkbox in the Privacy & Security
menu.
When enforced by MDM, the 'Do Not Track' menu entry is greyed out, and
if tapped, presents a toast message informing the user that the
setting is managed by the administrator. The checkbox reflects
the value set by MDM.
Included in this commit is the basic unit tests and a new
'MdmCheckBoxPreference' class that manages the display of the toast
message and makes it possible to update the state of the entry
immediately (instead of having to restart the menu to have a new
MDM setting take effect.
Change-Id: I931d80ccf80474120dba2d768a7a257e337bece2
Diffstat (limited to 'res/xml')
-rw-r--r-- | res/xml/general_preferences.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/xml/general_preferences.xml b/res/xml/general_preferences.xml index d0bf5334..8f5817f1 100644 --- a/res/xml/general_preferences.xml +++ b/res/xml/general_preferences.xml @@ -113,7 +113,7 @@ android:summary="@string/pref_security_show_security_warning_summary" android:title="@string/pref_security_show_security_warning" /> - <CheckBoxPreference + <com.android.browser.mdm.MdmCheckBoxPreference android:defaultValue="true" android:key="do_not_track" android:summary="@string/pref_do_not_track_summary" |