UserSystemPackageInstaller uses user types
UserSystemPackageInstaller was recently introduced and used a subset of UserInfo flags to specify which package should be installed on which user. ag/9507174 introduced the notion of user types to UserManager. The current cl does the following: UserSystemPackageInstaller now uses user types instead of UserInfo flags. This includes both base types (SYSTEM, FULL, PROFILE), as well as specific user types (like guest, managed profiles, etc.). OEMs can therefore specify on which type of user each system package should be installed. (Installing based on the ephemeral flag is therefore no longer available, but since it wasn't being used for this purpose, that's okay.) Bug: 134605778 Bug: 142151520 Bug: 142482943 Test: atest UserSystemPackageInstallerTest Change-Id: Ibd6de29e4f4861e91e282edfdd3100dc2d2e2f5f
Loading
Please register or sign in to comment