Skip to content

call disable-user if app is device-admin #89

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

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

Conversation

eybisi
Copy link

@eybisi eybisi commented Feb 10, 2022

Since lots of malware gets DEVICE_ADMIN permission adb uninstall command fails with DELETE_FAILED_DEVICE_POLICY_MANAGER error . Therefore if app is device-admin, call disable-user if uninstall fails.

@CloCkWeRX
Copy link

I've adopted this change in https://github.com/CloCkWeRX/pure-python-adb/

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.

2 participants