Michael Bestas
525a198ec8
{seedvault|storage}: Add explicit dependencies for androidx.{fragment|activity}
...
Fixes: E AndroidRuntime: FATAL EXCEPTION: main
E AndroidRuntime: Process: com.stevesoltys.seedvault, PID: 6688
E AndroidRuntime: java.lang.NoClassDefFoundError: Failed resolution of:
Landroidx/fragment/app/FragmentViewModelLazyKt;
Change-Id: I74d9cc78739db8496865439b9dcc2c31dc4b5416
2022-09-02 10:25:06 +03:00
Torsten Grote
fca09ccb9a
Merge pull request #436 from grote/android13-upgrades-minSdk
...
More work for Android13
2022-08-23 11:56:55 -03:00
Torsten Grote
4e0fab1883
Bump version code and version name
...
also add changelog entry
2022-08-23 11:44:19 -03:00
Torsten Grote
6ea33632cd
Upgrade more dependencies for Android 13
...
Now is a good time as we need to thoroughly test everything again anyway.
2022-08-23 11:44:18 -03:00
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
c856048f8f
Merge pull request #434 from theimpulson/android13
...
Android13
2022-08-23 10:23:03 -03:00
Aayush Gupta
02af9a27a8
restore: install: Cast any() to Int to avoid oevrload errors
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2022-08-23 18:36:42 +05:30
Torsten Grote
d72bee523b
Mock ApplicationInfo
...
as it now calls the native SystemClock.uptimeMillis() method which is hard to mock
2022-08-23 18:30:55 +05:30
Aayush Gupta
65fa49132e
settings: AppListRetriever: Switch to lowercase() method
...
W: 'toLowerCase(Locale): String' is deprecated. Use lowercase() instead.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2022-08-23 18:30:43 +05:30
Aayush Gupta
584a54b127
gradle: Upgrade robolectric and add explicit dependency on hamcrest
...
Current hamcrest dependency was coming from robolectric but upgrading it
removed it.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2022-08-23 18:30:43 +05:30
Aayush Gupta
dd49a4797e
gradle: Bump SDK versions to 33
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2022-08-23 14:43:34 +05:30
Aayush Gupta
4b8427821b
gradle: Enable java 11 language features
...
Also unify the style while at it
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2022-08-23 14:43:34 +05:30
Aayush Gupta
f0a3acf4fc
{seedvault|storage}: Add explicit dependencies for kotlin coroutines
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2022-08-23 14:43:34 +05:30
Aayush Gupta
6f81e48dc1
storage: Switch to inWholeMilliseconds property
...
W: 'toLongMilliseconds(): Long' is deprecated. Use inWholeMilliseconds property instead.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2022-08-23 14:43:34 +05:30
Aayush Gupta
288daadd8b
storage: Address experimental time API errors
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2022-08-23 14:43:33 +05:30
Aayush Gupta
c48aa73ad0
gradle: Bump kotlin and dependencies version for Android 13
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2022-08-23 14:43:33 +05:30
Aayush Gupta
68cef19f28
gradle: Bump to latest stable AGP and gradle versions
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2022-08-22 13:55:38 +05:30
Torsten Grote
07bf19b61b
Update README
2022-08-19 09:05:47 -03:00
Torsten Grote
3aa1b9f03d
Merge pull request #422 from t-m-w/do-not-restore-storage-provider
...
Exclude storage provider from restore
2022-08-15 17:29:01 -03:00
t-m-w
7901aec408
Exclude storage provider from restore and update affected unit tests,
...
additionally adding a test to ensure the storage provider is excluded.
Otherwise, when the storage provider (i.e. DAVx5 or Nextcloud) is installed,
it will be terminated, and the restoration process will be interrupted.
Change-Id: Ic1be201b673d718b416009ff61f5d975c89b6a62
2022-07-11 16:58:52 -04:00
Torsten Grote
b170634c93
Add missing SVG icon source files
2022-07-09 03:46:26 +05:30
Torsten Grote
b856782d33
[storage] Make backup content selection work better with screen readers
2022-07-08 20:11:38 +05:30
Torsten Grote
49c9425166
Expose app status information to screen readers
...
This is for backup, restore and re-install status.
2022-07-08 20:11:38 +05:30
José Rebelo
976e898656
Mark background backup notification as ongoing
2022-06-07 03:15:07 +05:30
Michael W
19ed570a4e
Tell user about non enabled backup
...
* Pressing "Backup now" should not just ignore you when it's not actually
enabled
* Add a toast message telling you it's not enabled
Fixes : #390
Change-Id: I5d698a244652e094b0acfc42cdea017a0af9a20b
2022-06-07 03:14:55 +05:30
Michael W
c97375b294
Seedvault: Fix button on code output
...
* Missed in the SuW redesign commit
Change-Id: Ie035b77470672248ccc531334cea5a3005fb1e20
2022-06-07 03:14:45 +05:30
Torsten Grote
034ca5aa89
Merge pull request #402 from BadDaemon/android12-redesign
...
Seedvault: Redesign SUW activities for 12
2022-05-31 11:08:33 -03:00
Michael W
4576c6d332
Seedvault: Redesign SUW activities for 12
...
* New SetupWizard uses external/setupdesign (sud) and
external/setupcompat (suc) to achieve the desired looks
* It prevents proper previews when included in any app, though, so
we better try achieving the same by manually styling the activities
for 12
* This patch mimics the design by applying styles similar to the ones
from sud, sometimes reusing parts taken from there
Change-Id: Iccf588e5239aeb00645f97b095910986f32c52d0
2022-05-26 12:35:48 +02:00
Michel Le Bihan
e26081fcfa
Translated using Weblate (Polish)
...
Currently translated at 100.0% (16 of 16 strings)
Translated using Weblate (Polish)
Currently translated at 84.6% (143 of 169 strings)
Co-authored-by: Michel Le Bihan <michel@lebihan.pl>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/pl/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/pl/
Translation: CalyxOS/Seedvault
Translation: CalyxOS/Seedvault storage backup
2022-04-29 23:55:05 +05:30
Jeffree Romero
1df679ad8f
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (169 of 169 strings)
Co-authored-by: Jeffree Romero <jeffree.s.romero@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/es/
Translation: CalyxOS/Seedvault
2022-04-29 23:55:05 +05:30
Егор Ермаков
7dc67a9104
Translated using Weblate (Russian)
...
Currently translated at 100.0% (169 of 169 strings)
Co-authored-by: Егор Ермаков <eg.ermakov2016@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/ru/
Translation: CalyxOS/Seedvault
2022-04-29 23:55:05 +05:30
Atrate
8f2b59229e
Translated using Weblate (Polish)
...
Currently translated at 62.5% (10 of 16 strings)
Translated using Weblate (Polish)
Currently translated at 100.0% (1 of 1 strings)
Co-authored-by: Atrate <Atrate@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_contactsbackup/pl/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/pl/
Translation: CalyxOS/Seedvault contacts backup
Translation: CalyxOS/Seedvault storage backup
2022-04-29 23:55:05 +05:30
Torsten Grote
d598aac81e
Clean up system USB storage feature a bit
2022-04-29 23:43:09 +05:30
Torsten Grote
81d5281a94
Save restore storage only when it had backups
...
Incidentally this gets rid of the need to pass an implementation-specific Uri to the StoragePlugin.
2022-04-29 23:43:09 +05:30
Oliver Scott
d7910a84b4
Save storage unconditionally on location set
...
The storage plugin cannot find USB backups for secondary users if it is not saved before checking if backups exist
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
Nextross
fa93d5dfcc
Translated using Weblate (Czech)
...
Currently translated at 100.0% (16 of 16 strings)
Translated using Weblate (Czech)
Currently translated at 99.4% (168 of 169 strings)
Co-authored-by: Nextross <onlineservices.aminolysis@aleeas.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/cs/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/cs/
Translation: CalyxOS/Seedvault
Translation: CalyxOS/Seedvault storage backup
2022-03-24 21:18:05 +05:30
Chirayu Desai
c832f71a29
Deleted translation using Weblate (Uyghur)
...
Deleted translation using Weblate (Uyghur)
Deleted translation using Weblate (Uyghur)
Co-authored-by: Chirayu Desai <chirayudesai1@gmail.com>
2022-03-24 21:18:05 +05:30
Reza Almanda
0d2f51b5e6
Translated using Weblate (Indonesian)
...
Currently translated at 56.2% (95 of 169 strings)
Co-authored-by: Reza Almanda <rezaalmanda27@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/id/
Translation: CalyxOS/Seedvault
2022-03-24 21:18:05 +05:30
Micovec
31d31bd6f9
Translated using Weblate (Czech)
...
Currently translated at 93.7% (15 of 16 strings)
Translated using Weblate (Czech)
Currently translated at 100.0% (1 of 1 strings)
Translated using Weblate (Czech)
Currently translated at 91.1% (154 of 169 strings)
Translated using Weblate (Czech)
Currently translated at 76.9% (130 of 169 strings)
Co-authored-by: Micovec <jiri.vokrinek@email.cz>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/cs/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_contactsbackup/cs/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/cs/
Translation: CalyxOS/Seedvault
Translation: CalyxOS/Seedvault contacts backup
Translation: CalyxOS/Seedvault storage backup
2022-03-24 21:18:05 +05:30
Baptiste H
d5cf2a371a
Translated using Weblate (French)
...
Currently translated at 100.0% (16 of 16 strings)
Translated using Weblate (French)
Currently translated at 100.0% (1 of 1 strings)
Translated using Weblate (French)
Currently translated at 100.0% (169 of 169 strings)
Co-authored-by: Baptiste H <baptiste.huchon@bechamail.fr>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/fr/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_contactsbackup/fr/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/fr/
Translation: CalyxOS/Seedvault
Translation: CalyxOS/Seedvault contacts backup
Translation: CalyxOS/Seedvault storage backup
2022-03-24 21:18:05 +05:30
Yaron Shahrabani
cf6c709616
Translated using Weblate (Hebrew)
...
Currently translated at 100.0% (16 of 16 strings)
Translated using Weblate (Hebrew)
Currently translated at 100.0% (1 of 1 strings)
Co-authored-by: Yaron Shahrabani <sh.yaron@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_contactsbackup/he/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/he/
Translation: CalyxOS/Seedvault contacts backup
Translation: CalyxOS/Seedvault storage backup
2022-03-24 21:18:05 +05:30
kbci_wcn
4a1aa34eee
Translated using Weblate (Catalan)
...
Currently translated at 100.0% (16 of 16 strings)
Translated using Weblate (Catalan)
Currently translated at 100.0% (169 of 169 strings)
Translated using Weblate (Catalan)
Currently translated at 87.5% (148 of 169 strings)
Translated using Weblate (Catalan)
Currently translated at 80.4% (136 of 169 strings)
Translated using Weblate (Catalan)
Currently translated at 71.0% (120 of 169 strings)
Translated using Weblate (Catalan)
Currently translated at 20.7% (35 of 169 strings)
Translated using Weblate (Catalan)
Currently translated at 15.3% (26 of 169 strings)
Translated using Weblate (Catalan)
Currently translated at 5.9% (10 of 169 strings)
Translated using Weblate (Catalan)
Currently translated at 100.0% (1 of 1 strings)
Translated using Weblate (Catalan)
Currently translated at 4.7% (8 of 169 strings)
Co-authored-by: kbci_wcn <kbci_wcn@aleeas.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/ca/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_contactsbackup/ca/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/ca/
Translation: CalyxOS/Seedvault
Translation: CalyxOS/Seedvault contacts backup
Translation: CalyxOS/Seedvault storage backup
2022-03-24 21:18:05 +05:30
Nikita Epifanov
cd71458a5c
Translated using Weblate (Russian)
...
Currently translated at 93.7% (15 of 16 strings)
Translated using Weblate (Russian)
Currently translated at 100.0% (1 of 1 strings)
Translated using Weblate (Russian)
Currently translated at 98.2% (166 of 169 strings)
Co-authored-by: Nikita Epifanov <nikgreens@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/ru/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_contactsbackup/ru/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/ru/
Translation: CalyxOS/Seedvault
Translation: CalyxOS/Seedvault contacts backup
Translation: CalyxOS/Seedvault storage backup
2022-03-24 21:18:05 +05:30
nzgha
b47f3efa9d
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (16 of 16 strings)
Translated using Weblate (Spanish)
Currently translated at 100.0% (1 of 1 strings)
Co-authored-by: nzgha <nzgha.hw@runbox.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_contactsbackup/es/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/es/
Translation: CalyxOS/Seedvault contacts backup
Translation: CalyxOS/Seedvault storage backup
2022-03-24 21:18:05 +05:30
Armand LB
4949a5997a
Translated using Weblate (French)
...
Currently translated at 99.4% (168 of 169 strings)
Translated using Weblate (French)
Currently translated at 97.6% (165 of 169 strings)
Co-authored-by: Armand LB <armandleborgne@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/fr/
Translation: CalyxOS/Seedvault
2022-03-24 21:18:05 +05:30
bruh
0c7876a37d
Translated using Weblate (Vietnamese)
...
Currently translated at 100.0% (169 of 169 strings)
Co-authored-by: bruh <quangtrung02hn16@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/vi/
Translation: CalyxOS/Seedvault
2022-03-24 21:18:05 +05:30
Me0wzz
cb9f9e35ca
Translated using Weblate (Korean)
...
Currently translated at 100.0% (16 of 16 strings)
Translated using Weblate (Korean)
Currently translated at 100.0% (1 of 1 strings)
Translated using Weblate (Korean)
Currently translated at 100.0% (169 of 169 strings)
Translated using Weblate (Korean)
Currently translated at 81.6% (138 of 169 strings)
Co-authored-by: Me0wzz <me0wzz@protonmail.ch>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/ko/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_contactsbackup/ko/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/ko/
Translation: CalyxOS/Seedvault
Translation: CalyxOS/Seedvault contacts backup
Translation: CalyxOS/Seedvault storage backup
2022-03-24 21:18:05 +05:30
nautilusx
4c8896e46f
Translated using Weblate (German)
...
Currently translated at 100.0% (16 of 16 strings)
Translated using Weblate (German)
Currently translated at 100.0% (1 of 1 strings)
Translated using Weblate (German)
Currently translated at 100.0% (169 of 169 strings)
Co-authored-by: nautilusx <translate@disroot.org>
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault/de/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_contactsbackup/de/
Translate-URL: https://hosted.weblate.org/projects/calyxos/seedvault_storage/de/
Translation: CalyxOS/Seedvault
Translation: CalyxOS/Seedvault contacts backup
Translation: CalyxOS/Seedvault storage backup
2022-03-24 21:18:05 +05:30