Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DDrawOverlayDetails.java54 private OverlayState mOverlayState; field in DrawOverlayDetails
103 if (mOverlayState != null && (Boolean) newValue != mOverlayState.isPermissible()) { in onPreferenceChange()
104 setCanDrawOverlay(!mOverlayState.isPermissible()); in onPreferenceChange()
139 mOverlayState = mOverlayBridge.getOverlayInfo(mPackageName, in refreshUi()
142 boolean isAllowed = mOverlayState.isPermissible(); in refreshUi()
145 mSwitchPref.setEnabled(mOverlayState.permissionDeclared && mOverlayState.controlEnabled); in refreshUi()
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DDrawOverlayDetails.java54 private OverlayState mOverlayState; field in DrawOverlayDetails
103 if (mOverlayState != null && (Boolean) newValue != mOverlayState.isPermissible()) { in onPreferenceChange()
104 setCanDrawOverlay(!mOverlayState.isPermissible()); in onPreferenceChange()
139 mOverlayState = mOverlayBridge.getOverlayInfo(mPackageName, in refreshUi()
142 boolean isAllowed = mOverlayState.isPermissible(); in refreshUi()
145 mSwitchPref.setEnabled(mOverlayState.permissionDeclared && mOverlayState.controlEnabled); in refreshUi()