summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Matt Pietal <mpietal@google.com> 2023-02-13 12:06:22 +0000
committer Matt Pietal <mpietal@google.com> 2023-02-14 13:11:57 +0000
commit7a8c125e88f7a251a1ee2eb0af77803a00362977 (patch)
tree9c110d6f4d979b74d4ab41bc3516469af11e5e70 /libs/androidfw/FileStream.cpp
parent3fb52a63222b1cfeb212a8f7658c61f9c5161623 (diff)
Backup and restore - Fix non-system users
Use a flat format, rather than a directory structure, to store files for non-primary users. Shared preferences does not explicitly support directories. The code was relying on a soon to be removed API, as well as it being unsupported by the backup helper. Files will remain stored under "shared_prefs" and "files", but the format will be __USER_{id}_{fileName} Test: atest UserFileManagerImplTest AuxiliaryPersistenceWrapperTest DeletionJobServiceTest Test: manual run Backup and Restore from Settings Fixes: 261168533 Fixes: 266918967 Change-Id: Ib9804a2ec46fc2f5d53995c50adc36ff712fc1c1
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions