Aayush Gupta
d86ecd303d
storage: demo: Adjust for edge to edge support
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-10-16 20:31:47 +05:30
Aayush Gupta
bfdb297ca4
storage: demo: Inherit M3 theme
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-10-16 20:31:47 +05:30
Aayush Gupta
2b5ca5ebdc
{app|storage}: Drop theme attribute from toolbar
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-10-16 20:31:47 +05:30
Aayush Gupta
a5fe52a01f
storage: demo: Switch to toolbar APIs for working with menu
...
Activity methods have been deprecated
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-10-16 20:21:40 +05:30
Torsten Grote
7b0e02c451
Clean up code after refactorings
2024-10-10 13:42:20 -03:00
Torsten Grote
96a3564610
Switch everything to new backends
2024-09-12 09:33:58 -03:00
Torsten Grote
58d58415c5
Use new Backend directly in storage lib
2024-09-12 09:18:22 -03:00
Torsten Grote
5bb599e528
Use new SafBackend in DocumentsProviderStoragePlugin
2024-09-12 09:18:21 -03:00
Torsten Grote
27eb95f768
Split key concern out of storage plugin
...
This creates a KeyManager interface in the new core module which the storage module can use to get the key from.
2024-09-12 09:18:21 -03:00
Torsten Grote
3683f82363
make file restore numbers add up by showing duplicates and errors
2024-08-22 09:35:40 -03:00
Torsten Grote
118b2c0be0
Integrate files selection into real Seedvault app
2024-07-31 15:09:43 -03:00
Torsten Grote
7d6ab6f8e0
Make demo restore with file selection functional
...
This injects FileSelectionManager as a singleton, so we can use its selection to recreate a snapshot, even in a service.
Also includes some UI improvements.
2024-07-31 15:09:43 -03:00
Torsten Grote
5012099419
Add UI prototype for selecting file to storage demo app
2024-07-31 15:09:43 -03:00
Aayush Gupta
cdcb862d9d
Migrate to MaterialAlertDialog everywhere
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-11 15:59:02 +07:00
Torsten Grote
7e612cb8e0
Introduce StoragePluginManager to handle storage plugins
...
and allow changing them dynamically. So far plugins were injected into the dependency graph and couldn't be changed at runtime, only their config could. Now we have the infrastructure in place to really allow for more than one plugin.
2024-04-25 09:51:45 -03:00
Torsten Grote
4f2ead66a5
Ensure root folder exists when using storage
...
We use the same root folder for app and files backup. App backup usually creates the root folder, but if only storage backup is used, it will be missing and needs to be created.
2024-04-25 09:51:44 -03:00
Torsten Grote
e6e65d0dd1
WebDAV files backup plugin
2024-04-25 09:51:44 -03:00
Michael Bestas
6031f03841
storage demo: Remove roundIcon
...
This was only used on sdk 25
2023-09-26 02:36:50 +05:30
Michael Bestas
66209f78f2
storage: Add SPDX copyright headers
2023-03-09 02:42:03 +05:30
Michael Bestas
366ea62895
storage: Add missing newlines at the end of the files
2023-03-09 02:42:03 +05:30
Torsten Grote
46e19516cd
Add POST_NOTIFICATIONS permission and pre-grant it
2022-08-23 11:44:18 -03:00
Torsten Grote
82f23b7800
Set minSdk to 32 and remove code for old SDKs
...
We can't go to 33 yet, because roboelectric doesn't support that
2022-08-23 11:44:18 -03:00
Torsten Grote
d598aac81e
Clean up system USB storage feature a bit
2022-04-29 23:43:09 +05:30
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
Torsten Grote
579919d5e7
Code style and lint after Android 12 version bumps
2021-10-13 16:25:41 +05:30
Torsten Grote
7f4b565d2a
First version bumps for Android 12
2021-10-13 16:25:41 +05:30
Torsten Grote
d13b9ea3fd
Always run storage backups in a foreground service
...
otherwise we get killed for using too much CPU
2021-07-05 20:08:29 +05:30
Torsten Grote
347d2a316f
Allow using the same storage location on different devices or user profiles
...
Previously, we would put our files directly in the root of the storage location and delete any existing backups there. When used by different devices or user profiles, these would keep deleting each other's backups.
2021-07-05 20:08:29 +05:30
Torsten Grote
342bd2068a
Clear existing storage snapshots from storage medium
...
because that scenario isn't supported at the moment
2021-07-05 20:08:29 +05:30
Torsten Grote
6c633b70c3
Add storage library (and demo app)
...
and use for periodic files backup
2021-07-05 20:08:29 +05:30