Skip to main content
New Member
Feb 17, 2024 2:08 PM UTC
Question

AOSP project - how do I on building AOSP set a specific app as device owner?

  • 3 replies
  • 25 views
  • Translate All • Beta, powered by Gemini

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!

3 replies

bler0037Author
New Member
Feb 17, 2024 2:10 PM UTC

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.

Translate • Beta, powered by Gemini
ReeceK
Former Community Manager
Feb 22, 2024 1:47 PM UTC

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

Translate • Beta, powered by Gemini
ReeceK
Former Community Manager
Feb 19, 2024 4:44 PM UTC

Hey @bler0037, 

 

Firstly, welcome to the community. 

 

Just to keep you informed, I am looking into this question for you. I will be sure to get an answer for you in the upcoming days. 

 

In the meantime, is there anything else I can support with? 


Thanks,
Reece 

Translate • Beta, powered by Gemini