diff options
| author | 2023-02-02 18:51:43 -0800 | |
|---|---|---|
| committer | 2023-02-17 17:34:47 +0000 | |
| commit | db67516186184e80b8a062fc7cda73f4e2a8f5c6 (patch) | |
| tree | 279c356ebfe736d08fddebfa32af04bb42cdfc91 /libs/androidfw/ApkParsing.cpp | |
| parent | 921ecfe4497b1b899b6673da6fcf78a63ca6cffb (diff) | |
System UserInfo flags are set in UserTypeFactory
The System's default UserInfo flags are set in two possible places. We
move the "user-type" flags to UserTypeFactory, consistent with other
user types. This is just aesthetics. There is no functional change here.
We also mark FLAG_PRIMARY and isPrimary as deprecated. They are merely
synonymous with FLAG_SYSTEM and userId == 0.
Bug: 267536424
Test: Flash HSUM and non-HSUM builds and ensure system has correct flags
Change-Id: I759409d907120043f20b2341655a65cb372a0d21
Merged-In: I759409d907120043f20b2341655a65cb372a0d21
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions