Home
last modified time | relevance | path

Searched refs:newEnabledState (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java787 final boolean newEnabledState = !arp.isChecked(); in onPreferenceClick()
788 arp.setChecked(newEnabledState); in onPreferenceClick()
789 mHelper.setPackageSelected(packageName, newEnabledState); in onPreferenceClick()
790 updateAllEntries(arp.getKey(), newEnabledState); in onPreferenceClick() local
792 mHelper.applyUserAppState(packageName, newEnabledState, this); in onPreferenceClick()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DAppRestrictionsFragment.java787 final boolean newEnabledState = !arp.isChecked(); in onPreferenceClick()
788 arp.setChecked(newEnabledState); in onPreferenceClick()
789 mHelper.setPackageSelected(packageName, newEnabledState); in onPreferenceClick()
790 updateAllEntries(arp.getKey(), newEnabledState); in onPreferenceClick() local
792 mHelper.applyUserAppState(packageName, newEnabledState, this); in onPreferenceClick()