Forum Discussion
bler0037
2 years agoLevel 1.5: Cupcake
AOSP project - how do I on building AOSP set a specific app as device owner?
I am building a AOSP-project where we have a APK, we would like to be device-owner on the build.
Where in the AOSP-project do we set a specific APK as device-owner?
Thanks!
- bler0037Level 1.5: Cupcake2 years ago
We know it is possible to run this command "adb shell dpm set-device-owner ..." but we would like so its being done, when we build the AOSP, so we do not need to connect each device to a laptop and run the command. But it is being done on the build itself.
- ReeceKFormer Community Manager2 years ago
Hello bler0037
Just to confirm, are you trying to enroll fully managed using EMM? If so, you can use a QR code to download the dpc. Please let me know if this helps. You can also reach out via the public developer channel for AOSP https://source.android.com/
Thanks,
Reece
Related Content
- 2 years ago