Fix: 'Make profile pattern visible'

'Make profile pattern visible' turns itself back on.

Bug:27331363
Change-Id: I0c9520c89b5f56e78fc51ac9b42320b66cc9df38
This commit is contained in:
Mahaver Chopra
2016-03-04 17:17:59 +00:00
parent e6be2411e4
commit a1276e4956

View File

@@ -117,7 +117,9 @@ public class SecuritySettings extends SettingsPreferenceFragment
// These switch preferences need special handling since they're not all stored in Settings. // These switch preferences need special handling since they're not all stored in Settings.
private static final String SWITCH_PREFERENCE_KEYS[] = { private static final String SWITCH_PREFERENCE_KEYS[] = {
KEY_SHOW_PASSWORD, KEY_TOGGLE_INSTALL_APPLICATIONS, KEY_UNIFICATION }; KEY_SHOW_PASSWORD, KEY_TOGGLE_INSTALL_APPLICATIONS, KEY_UNIFICATION,
KEY_VISIBLE_PATTERN_PROFILE
};
// Only allow one trust agent on the platform. // Only allow one trust agent on the platform.
private static final boolean ONLY_ONE_TRUST_AGENT = true; private static final boolean ONLY_ONE_TRUST_AGENT = true;