Last active
November 1, 2017 14:40
-
-
Save yakivmospan/a2edcb83285a9d34869699aabfb26e22 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private var deviceSecurityAlert: AlertDialog? = null | |
override fun onStart() { | |
super.onStart() | |
if (!systemServices.isDeviceSecure()) { | |
deviceSecurityAlert = systemServices.showDeviceSecurityAlert() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment