Commit graph

962 commits

Author SHA1 Message Date
Gabriel Cardoso
d4da47634f Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (160 of 160 strings)

Translation: CalyxOS/Seedvault
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/pt_BR/
2022-01-05 01:40:46 +05:30
御守りのいちか
e00b899055 Translated using Weblate (Chinese (Traditional))
Currently translated at 21.8% (35 of 160 strings)

Translation: CalyxOS/Seedvault
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/zh_Hant/
2022-01-05 01:40:46 +05:30
Gabriel Cardoso
8bcb1e8692 Translated using Weblate (Portuguese (Brazil))
Currently translated at 92.5% (148 of 160 strings)

Translation: CalyxOS/Seedvault
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/pt_BR/
2022-01-05 01:40:46 +05:30
Ilya
723b958ba4 Translated using Weblate (Russian)
Currently translated at 98.7% (158 of 160 strings)

Translation: CalyxOS/Seedvault
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/ru/
Change-Id: I218e6e24e5c72fb640865c8615ff38373681196d
2022-01-05 01:40:46 +05:30
Reza Almanda
eb31b2444a Translated using Weblate (Indonesian)
Currently translated at 52.5% (84 of 160 strings)

Translation: CalyxOS/Seedvault
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/id/
2022-01-05 01:40:46 +05:30
Milo Ivir
c61c88f1df Translated using Weblate (Croatian)
Currently translated at 100.0% (160 of 160 strings)

Translation: CalyxOS/Seedvault
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/hr/
Change-Id: I4073f6c141d5b448003b60d0a818ed4bc6306177
2022-01-05 01:40:46 +05:30
Armand LB
31d2d9c46b Translated using Weblate (French)
Currently translated at 100.0% (160 of 160 strings)

Translation: CalyxOS/Seedvault
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/fr/
Change-Id: I83217e2b06c0dfa38eeca6caa8601138a24a3582
2022-01-05 01:40:46 +05:30
Yaron Shahrabani
25a416bcfc Translated using Weblate (Hebrew)
Currently translated at 97.5% (156 of 160 strings)

Translation: CalyxOS/Seedvault
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/he/
2022-01-05 01:40:46 +05:30
Nekromanser
95aa1b28f5 Translated using Weblate (Finnish)
Currently translated at 100.0% (160 of 160 strings)

Translation: CalyxOS/Seedvault
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/fi/
2022-01-05 01:40:46 +05:30
Weblate
2a7284e8ea Added translation using Weblate (Uyghur) 2022-01-05 01:40:46 +05:30
Weblate
975421198d Added translation using Weblate (Spanish (Argentina)) 2022-01-05 01:40:46 +05:30
Nekromanser
8cc88ac993 Translated using Weblate (Finnish)
Currently translated at 85.0% (136 of 160 strings)

Translation: CalyxOS/Seedvault
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/fi/
2022-01-05 01:40:46 +05:30
Alexandre Brochand
873a095d8f Translated using Weblate (French)
Currently translated at 91.2% (146 of 160 strings)

Translation: CalyxOS/Seedvault
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/fr/
2022-01-05 01:40:46 +05:30
bruh
61567ed83a Translated using Weblate (Vietnamese)
Currently translated at 100.0% (160 of 160 strings)

Translation: CalyxOS/Seedvault
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/vi/
Change-Id: I8d7115c34f86e960c8e2cf168f3c3144214eaf71
2022-01-05 01:40:46 +05:30
Óscar Fernández Díaz
457e287c67 Translated using Weblate (Spanish)
Currently translated at 100.0% (160 of 160 strings)

Translation: CalyxOS/Seedvault
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/es/
Change-Id: Ib2ef827f26476597d478f8deca5673a2dbac4d59
2022-01-05 01:40:46 +05:30
Gediminas Murauskas
43f2c7a751 Translated using Weblate (Lithuanian)
Currently translated at 100.0% (160 of 160 strings)

Translation: CalyxOS/Seedvault
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/lt/
Change-Id: Iea1fe96abe6845c361171ad7d775922c9d0cc782
2022-01-05 01:40:46 +05:30
Yaron Shahrabani
a026af10b9 Translated using Weblate (Hebrew)
Currently translated at 69.3% (111 of 160 strings)

Translation: CalyxOS/Seedvault
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/he/
2022-01-05 01:40:46 +05:30
Eric
9a1f5e3864 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (160 of 160 strings)

Co-authored-by: Eric <spice2wolf@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/zh_Hans/
Translation: CalyxOS/Seedvault
Change-Id: I61376609ee1b59f103fa469790127ae36c4fc47a
2022-01-05 01:40:46 +05:30
nautilusx
51293688c9 Translated using Weblate (German)
Currently translated at 100.0% (160 of 160 strings)

Co-authored-by: nautilusx <translate@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/de/
Translation: CalyxOS/Seedvault
Change-Id: I791df0a0ceac12eb492b7837be841bc613f822e0
2022-01-05 01:40:46 +05:30
Oğuz Ersen
3210e79305 Translated using Weblate (Turkish)
Currently translated at 100.0% (160 of 160 strings)

Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/tr/
Translation: CalyxOS/Seedvault
Change-Id: I509a1c362e1e96e5ac4967e00071b286c675178d
2022-01-05 01:40:46 +05:30
Torsten Grote
7d4fd105bf Fix finishing RequireProvisioningActivity when provisioning is aborted
On Android 11 this worked fine, but on Android 12 onStart() happens before activity results get delivered. We finish the activity when receiving a cancelled result. However, when onStart() gets called before we know the result, we relaunch an activity required for provisioning again instead of finishing.
2022-01-04 21:46:42 +05:30
Torsten Grote
a717ebaf9c
Merge pull request #323 from chirayudesai/12
Android 12 - 12-3.0 - new backup format!
2021-12-15 16:10:43 -03:00
Torsten Grote
46da90b100
Merge pull request #343 from mikeNG/system-ext-move
Move Seedvault to /system_ext partition
2021-12-15 16:09:40 -03:00
Torsten Grote
27b45875d7
Merge pull request #341 from grote/dav-x5
Allow DAVx5 DocumentsProvider by default
2021-12-15 16:09:18 -03:00
Michael Bestas
dfec39ee05
Move Seedvault to /system_ext partition
Change-Id: I5a1d33dec45ade9a30925b471652878bfa39404f
2021-11-24 20:18:35 +02:00
Torsten Grote
0746af4304
Allow DAVx5 DocumentsProvider by default 2021-11-12 14:34:00 -03:00
Chirayu Desai
e972956929 Android 12 - 12-3.0
* Bump version following versioning scheme
* 3.0 now following new backup format
* Add initial entry to changelog

Change-Id: Ifca1b3feac0f510890450a1999b42897894d58ee
2021-10-13 18:06:30 +05:30
Torsten Grote
b0c6eeb9f7 Clean up stuck notifications when service gets killed 2021-10-13 17:16:16 +05:30
Torsten Grote
c7880b8a8b Don't crash when no store app is installed 2021-10-13 16:25:41 +05:30
Torsten Grote
c5a295d31c Allow storage backups to launch foreground service from background 2021-10-13 16:25:41 +05:30
Torsten Grote
b184f208c4 Show storage backup notification immediately 2021-10-13 16:25:41 +05:30
Torsten Grote
97398f1c5c Build build storage backup lib within AOSP
This removes the AAR binary from the repo as it isn't needed anymore. Also room schema migrations will need to be one manually in the future as schema export doesn't seem to work in AOSP.
2021-10-13 16:25:41 +05:30
Torsten Grote
5662409ef5 Fix icon colors 2021-10-13 16:25:41 +05:30
Torsten Grote
75d4c7d05c Don't use setUnlockedDeviceRequired() on the backup key
as importing it with Android 12 GSI fails. This key is only used to restore old backups anyway and the new one doesn't use this restriction.
2021-10-13 16:25:41 +05:30
Torsten Grote
579919d5e7 Code style and lint after Android 12 version bumps 2021-10-13 16:25:41 +05:30
Torsten Grote
e80d89f0a2 Use our transport flags when creating RestoreSets
This hopefully prevents apps skipping restore that require end-to-end encrypted backup transports.

3762670bb7
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
b029b0b029 Improve behavior of @pm@ backups when we can't do backups
Before, we were faking a backup and just returned true, but remembering that next time, we need to do a fresh non-incremental @pm@ backup.
Now, we backup to local cache, but don't upload it. On next run, when we can do backups again, we will upload the updated cache. This simplifies things and reduces the special logic required.
2021-10-13 16:15:20 +05:30
Torsten Grote
36c35d6f98 Force backup initialization when we have no cached metadata
as it can happen after clearing app data
2021-10-13 16:15:20 +05:30
Torsten Grote
c59a006a00 Remove @pm@ optimization from BackupNotificationManager
as it shouldn't be needed anymore
2021-10-13 16:15:20 +05:30
Torsten Grote
b8b6882484 Don't try to clear data of NO_DATA system apps
This speeds up the backup quite a bit since there's many such apps
2021-10-13 16:15:20 +05:30
Torsten Grote
79777a7b6f Close K/V DB after restoring records
also don't log stack trace when not finding backup type
2021-10-13 16:15:20 +05:30
Torsten Grote
ef5d1c3bc8 Port auto restore optimization from legacy v0 code to new v1 code 2021-10-13 16:15:20 +05:30
Torsten Grote
3c5e4120c7 Refactor Storage Plugin API 2021-10-13 16:15:20 +05:30
Torsten Grote
50066f0317 Let ApkBackup and ApkRestore use the new storage plugin API 2021-10-13 16:15:20 +05:30
Torsten Grote
183e34afd2 Remove legacy backup plugin code 2021-10-13 16:15:20 +05:30
Torsten Grote
1885021c1c Move backup of APKs of opt-out apps to after uploading @pm@ DB 2021-10-13 16:15:20 +05:30
Torsten Grote
a0f3c6b45f K/V restore using single file 2021-10-13 16:15:20 +05:30
Torsten Grote
0c915e5eb8 K/V backup using single file
Tests are still broken until restore has also been implemented with single file approach
2021-10-13 16:15:20 +05:30
Torsten Grote
23bb385190 Use new storage API for full restore 2021-10-13 16:15:20 +05:30