Skip to content

Instantly share code, notes, and snippets.

@flschweiger
Created October 29, 2016 10:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flschweiger/b883155bb5d27dd28cb23c7caf90a574 to your computer and use it in GitHub Desktop.
Save flschweiger/b883155bb5d27dd28cb23c7caf90a574 to your computer and use it in GitHub Desktop.
Fire ConfirmDeviceCredentialIntent!
private void showAuthenticationScreen() {
Intent in = mKeyguardManager.createConfirmDeviceCredentialIntent(
"Hey there!", "Please...");
if (in != null) {
startActivityForResult(in, REQUEST_CODE_CREDENTIALS);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment