Searched refs:mPreferenceAlwaysOn (Results 1 – 1 of 1) sorted by relevance
80 private RestrictedSwitchPreference mPreferenceAlwaysOn; field in AppManagementFragment121 mPreferenceAlwaysOn = (RestrictedSwitchPreference) findPreference(KEY_ALWAYS_ON_VPN); in onCreate()125 mPreferenceAlwaysOn.setOnPreferenceChangeListener(this); in onCreate()162 return onAlwaysOnVpnClick(mPreferenceAlwaysOn.isChecked(), (Boolean) newValue); in onPreferenceChange()205 if (!mPreferenceAlwaysOn.isEnabled()) { in setAlwaysOnVpnByUI()245 mPreferenceAlwaysOn.setChecked(alwaysOn); in updateUI()253 mPreferenceAlwaysOn.checkRestrictionAndSetDisabled(UserManager.DISALLOW_CONFIG_VPN, in updateRestrictedViews()262 mPreferenceAlwaysOn.setSummary(R.string.vpn_always_on_summary); in updateRestrictedViews()266 mPreferenceAlwaysOn.setEnabled(false); in updateRestrictedViews()268 mPreferenceAlwaysOn.setSummary(R.string.vpn_always_on_summary_not_supported); in updateRestrictedViews()