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

kiosk_mode: Lifecycle callbacks #386

Open
ralph-bergmann opened this issue Jun 27, 2023 · 1 comment
Open

kiosk_mode: Lifecycle callbacks #386

ralph-bergmann opened this issue Jun 27, 2023 · 1 comment

Comments

@ralph-bergmann
Copy link

You wrote that "Android doesn't allow subscribing to lock task mode changes".

Have you tried the Lifecycle callbacks?

It sounds like it is possible to be notified when the mode changes. Polling every 5sec seems unnecessary.

@ookami-kb
Copy link
Contributor

It is possible, but it only works in the DPC app, so not that useful.

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

No branches or pull requests

2 participants