Skip to content

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

Open
eybisi wants to merge 1 commit intoSwind:masterfrom
eybisi:uninstall-device-admin-app
Open

call disable-user if app is device-admin #89
eybisi wants to merge 1 commit intoSwind:masterfrom
eybisi:uninstall-device-admin-app

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