diff options
author | jovanak <jovanak@google.com> | 2019-10-28 09:56:29 -0700 |
---|---|---|
committer | jovanak <jovanak@google.com> | 2019-11-07 16:39:50 -0800 |
commit | debb009a2cad8a08674a097eb1314ad43a22de7f (patch) | |
tree | 197363bc62b6d955919354b89bdfbf3ae9b1b879 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | e39c7bd2113d342647c40011a6c6e62e31188de7 (diff) |
DO NOT MERGE: Fix several issues with precreated users.
1. Prevent UserManager from destroying storage for precreated users.
2. Modify UMS.getUserIds to exclude precreated users.
3. Remove pre-created users if the system has upgraded.
4. Read permissions during conversion to a "real" user. Permissions should have been granted during the pre-creation. If we cannot read permissions, re-grant them for the user.
Fixes: 143464654
Fixes: 143463955
Test: Repeated subsequent boots; observing logs; boot systrace; applied OTA, verified user cleanup
Change-Id: I75b031105b2622a8a28e84cf2394e43ec93e4174
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions