commit | bd5cc7f03256b328438b9bc3791c6b811a2f1f17 | [log] [tgz] |
---|---|---|
author | Jason Parks <jparks@google.com> | Tue Oct 31 20:17:21 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Jan 11 04:46:47 2024 +0000 |
tree | fc0466a382b31ecea2ef1c9a1278d3c9578f57c0 | |
parent | 3cd8a2c783fc736627b38f639fe4e239abcf6af1 [diff] |
Fix issue with upgrading from previous user versions. The storage format of users changed in userVersion 10. When upgrading from userVersion 9 (Android 13), local user restrictions would be read as base restrictions. This fix properly reads in the old version and converts it to the new storage format. Bug: 311687929 Bug: 305455828 Test: atest UserManagerServiceUserInfoTest (cherry picked from commit 739281096aba494151f8c953f2d63ec9fd4c7e87) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f0d456b03b40c1ef5da728e365fecb70ee835fb8) Merged-In: I14fdac19b4458c6bd2ccee7d1b119bc710e1b600 Change-Id: I14fdac19b4458c6bd2ccee7d1b119bc710e1b600