Files
android_development/samples/DeviceAdminWhitelistedAccount
Sasha Smundak bef01b9173 Convert Android.mk files to Android.bp
See build/soong/README.md for more information.

Bug: 122332515
Test: treehugger
Change-Id: I0f6ae8d880114d1bc83f7aac2b96eafef76dc046
2019-06-25 14:18:16 -07:00
..

DeviceAdmin Whitelisted Account

This application creates an account that will not prevent test-only DO/PO from being activated.

Build and install:

croot
mmma -j development/samples/DeviceAdminWhitelistedAccount
adb install -r -g $OUT/data/app/DeviceAdminWhitelistedAccount/DeviceAdminWhitelistedAccount.apk

Create a whitelisted account

  • Launch the "DA Whitelisted Account" app from the launcher.

Remove a whitelisted account

  • Just uninstall the app. i.e.
adb uninstall com.example.android.app.admin.whitelistedaccount