theme / projekt.commons.theme.backend / Backend / switchOverlay
switchOverlay¶
abstract fun switchOverlay(packages:
List
<
String
>, state:
Boolean
, restartUi:
Boolean
):
Unit
Switches overlay state.
Parameters¶
packages
- List of overlay package names to be switched.
state
- true
to enable, false
otherwise.
restartUi
- Whether to restert SystemUI after operation is done.
Exceptions¶
RemoteException
-