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

enable setLockTaskPackages whitelist #3

Open
Qking521 opened this issue Nov 12, 2021 · 1 comment
Open

enable setLockTaskPackages whitelist #3

Qking521 opened this issue Nov 12, 2021 · 1 comment

Comments

@Qking521
Copy link

Qking521 commented Nov 12, 2021

only set setLockTaskPackages doesn't work. need config android:lockTaskMode="if_whitelisted" in AndroidManifest.xml
<activity android:name=".MainActivity" android:lockTaskMode="if_whitelisted" </activity>

@alexfuser
Copy link

@Qking521 Where does this code line go?

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