Skip to content

Instantly share code, notes, and snippets.

@pavlospt
Created December 8, 2016 09:34
Show Gist options
  • Save pavlospt/54aabd4af05ea549cec6908f2e541a3a to your computer and use it in GitHub Desktop.
Save pavlospt/54aabd4af05ea549cec6908f2e541a3a to your computer and use it in GitHub Desktop.
SmartLock - Email Hint Request Handle Resolution
private fun handleEmailHintRequestResolution(resultCode: Int, data: Intent?) {
if (resultCode == AppCompatActivity.RESULT_CANCELED) {
emailHintRequestCancelled()
} else {
emailHintRequestSuccess(data)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment