Skip to content

Instantly share code, notes, and snippets.

@manijshrestha
Created October 30, 2014 03:23
Show Gist options
  • Select an option

  • Save manijshrestha/aab483111d489b5e42ab to your computer and use it in GitHub Desktop.

Select an option

Save manijshrestha/aab483111d489b5e42ab to your computer and use it in GitHub Desktop.
@Override
public void onBackPressed() {
stopLockTask();
}
@WildeHa
Copy link

WildeHa commented Oct 17, 2017

According to doc, stopLockTask() should be called only when startLockTask() has been called, otherwise there would be an error. Hope that help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment