seedvault/storage
Oliver Scott dd57828697 Allow secondary user backup to USB
By default, Android exposes USB devices only to the main user.
In order to query, read and write to it, the signature permission INTERACT_ACROSS_USERS_FULL (optional) is granted to create Seedvault's context as the system user.

Issue: calyxos#437
Issue: https://github.com/seedvault-app/seedvault/issues/77
Change-Id: I0b1b4c8c5aeeb226419ff94e15f631ebe1db66df
2022-04-29 23:43:09 +05:30
..
demo Allow secondary user backup to USB 2022-04-29 23:43:09 +05:30
doc document potential information leakage through the long-lived SQL caches 2021-09-24 00:04:56 +05:30
lib Allow secondary user backup to USB 2022-04-29 23:43:09 +05:30
.gitignore Add storage library (and demo app) 2021-07-05 20:08:29 +05:30
lint.xml storage: Ignore missing translations 2022-03-07 20:07:35 +05:30
logcat-verbose.sh Add storage library (and demo app) 2021-07-05 20:08:29 +05:30
README.md Clear existing storage snapshots from storage medium 2021-07-05 20:08:29 +05:30

Seedvault Storage

This is a library for Seedvault storage backup. It can also be used by other apps wanting to provide storage backup feature.

Please see the design document for more information.

There is also a demo app that illustrates the working of the library and does not need to be a system app with elevated permissions. It can be built and installed as a regular app requesting permissions at runtime.

Limitations

The design document mentions several limitations of this initial implementation. One of them is that you cannot backup more than one device to the same storage location.