Skip to content

Instantly share code, notes, and snippets.

@0awawa0
Created July 27, 2022 06:15
Show Gist options
  • Save 0awawa0/273ba696dbcabe192cd80b2c424bd48f to your computer and use it in GitHub Desktop.
Save 0awawa0/273ba696dbcabe192cd80b2c424bd48f to your computer and use it in GitHub Desktop.
val isMIUI = XiaomiUtilities.isMIUI()
val isShowWhenLocked= XiaomiUtilities.isCustomPermissionGranted(context, XiaomiUtilities.OP_SHOW_WHEN_LOCKED)
val isExactAlarm = XiaomiUtilities.isCustomPermissionGranted(context, XiaomiUtilities.OP_EXACT_ALARM)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment