Added broadcast to clear device admins.
This is useful during CTS development, so the admin can be disabled
without a factory reset, when for some reason the test fails to
disable it.
Test: adb shell am broadcast --user cur -a disable_self com.android.cts.emptydeviceowner/.EmptyDeviceAdmin
Test: adb shell am broadcast --user 0 -a disable_self com.android.cts.verifier/.managedprovisioning.DeviceAdminTestReceiver
Bug: 177554984
Bug: 177564920
Change-Id: I97a1de734eae6ec3a3bf7202731ea06ce76a1b82
4 files changed