Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7a8c125e authored by Matt Pietal's avatar Matt Pietal
Browse files

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
parent 3fb52a63
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment