Add app clone profile and APIs.
This change adds a new hidden user type "android.os.usertype.profile.CLONE" and two new system APIs "isCloneProfile" and "hasSharedMedia". To support App cloning, we need to support sharing media between the owner user and the clone user. Adding this as a property in UserTypeDetails. Bug: 182396009 Test: atest android.multiuser.cts.UserManagerTest#testCloneUser, atest com.android.server.pm.UserManagerTest#testCloneUser and manually ran shell commands on the clone user. Change-Id: I49ddcbd499944ca9ec05ef4dc10d2e2b231d8b88 (cherry picked from commit db930667a21dac9f0de7cb2fe99175b3b4545bf4)
Loading
Please register or sign in to comment