Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added "Lock" method to return the device to base state #516

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Qvadis
Copy link

@Qvadis Qvadis commented Jun 29, 2020

When we execute "unlock" we set some flags to true:

FLAG_ALLOW_LOCK_WHILE_SCREEN_ON
FLAG_SHOW_WHEN_LOCKED
FLAG_TURN_SCREEN_ON
FLAG_DISMISS_KEYGUARD

And if we have our app in foreground and turn the screen off, we see our app.

I've added a method to clear these flags just in case we don't want that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant