summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Jason Parks <jparks@google.com> 2023-10-31 20:17:21 +0000
committer Rubin Xu <rubinxu@google.com> 2023-11-03 15:27:49 +0000
commit739281096aba494151f8c953f2d63ec9fd4c7e87 (patch)
tree97129d58d92a99b84d8bf8edecb2567392dd9885 /libs/androidfw/FileStream.cpp
parentb178b6a105c5e4e43ffcb3f8784a766b01000cf5 (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: 305455828 Test: atest UserManagerServiceUserInfoTest Change-Id: I14fdac19b4458c6bd2ccee7d1b119bc710e1b600 Merged-In: I14fdac19b4458c6bd2ccee7d1b119bc710e1b600 (cherry picked from commit 347b8a00c8aad4ce36e0c63e0c4c03b7fc86bb92)
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions