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

Allow launching another app #2

Closed
yurik94 opened this issue Aug 8, 2018 · 7 comments
Closed

Allow launching another app #2

yurik94 opened this issue Aug 8, 2018 · 7 comments

Comments

@yurik94
Copy link

yurik94 commented Aug 8, 2018

Hello,

Thank you for this sample, worked after upgrading some dependencies and factory reset.
I have a question: how can I whitelist some activities/apps ?

@derohimat
Copy link
Owner

Hello @yurik94,

Currently I just make this sample for just one app. For make whitlist, I'm still not research for that.

@yurik94
Copy link
Author

yurik94 commented Oct 30, 2018

nevermind, I found the way 👍

mDpm.setLockTaskPackages(
                        deviceAdmin, //deviceAdmin = new ComponentName(this, AdminReceiver.class);
                        whitelistedPackages); //String[]

@yurik94 yurik94 closed this as completed Oct 30, 2018
@amet123
Copy link

amet123 commented Jun 13, 2019

I want only enaable for emergency call rest disable,

@shahdghorsi
Copy link

Hello, thank you so much for this useful app I just wonder where to add the whitelist

@derohimat
Copy link
Owner

@shahdghorsi you can see at readme or comment from here #2 (comment)

@derohimat
Copy link
Owner

derohimat commented Jul 9, 2020

I want only enaable for emergency call rest disable,

@amet123 Sorry, currently I'm not research for that

@alexfuser
Copy link

@yurik94 Could you please tell me, where do I place those lines for the whitelist?

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

5 participants