Searched refs:mOverlayState (Results 1 – 2 of 2) sorted by relevance
54 private OverlayState mOverlayState; field in DrawOverlayDetails103 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()