Hot answers tagged adb
It's not possible. The settings code is specifically written to prevent this. The closest you can come is to bring up the Device administration settings page in the Settings app. You can do this with: adb shell am start -S "'com.android.settings/.Settings\$DeviceAdminSettingsActivity'"
Only top voted, non community-wiki answers of a minimum length are eligible