Skip to content
Commit eb44ae4c authored by Yan Zhu's avatar Yan Zhu
Browse files

Allows setting affiliation to support DO setup flow on auto

1. build  aosp_car_x86 so it will use CarProvision which is AOSP verision setup wizard
2. deprovision the device
adb shell settings put global device_provisioned 0 && adb shell rm /data/system/device_owner_2.xml /data/system/device_policies.xml
3. reset user
adb shell rm /data/system/users/10/device_policies.xml && adb shell settings put secure --user 10 user_setup_complete 0 && adb shell settings put secure --user 0 user_setup_complete 0 && adb shell rm /data/system/users/10/profile_owner.xml
4. adb push frameworks/native/data/etc/android.software.device_admin.xml /vendor/etc/permissions/
5. install TestDPC app: https://github.com/googlesamples/android-testdpc
Setup DO from reference SUW

Bug: 171336247
Bug: 172691310
Test: manual with steps above
Change-Id: I5891150fdd53a3345f60aa1e810f63cc4d10343f
parent bc34eb88
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment