Torsten Grote
271b9a560f
Remove some code warnings
2022-11-16 19:19:56 +05:30
Torsten Grote
1a7fc5f028
Add expert option to save logs
2022-11-16 19:19:56 +05:30
Torsten Grote
374ba8b64f
Remove permission requirement in a better way for debug builds
...
and reformat some SettingsFragment details
2022-11-12 03:38:14 +05:30
Chirayu Desai
c6a77904a6
RecoveryCode: Allow screenshots on debug builds ( #446 )
...
* We already pre-fill the code on debug builds to make testing easier
* Allow screenshots too so we don't have to note down the code right away
when testing
Change-Id: Ie9cc3080616b78a6e5f9b427c080f10c146a036d
2022-10-14 16:30:18 -03:00
Alexander Martinz
0106c1911a
Document POST_NOTIFICATIONS permission usage
...
Change-Id: Ie9d2b9bc06aba0dfbd268408220ba54081137b26
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
2022-10-06 20:07:13 +05:30
Alexander Martinz
7799ad1339
Document that MANAGE_DOCUMENTS is optional
...
MR #151 implemented a fallback if MANAGE_DOCUMENTS is not granted,
which falls back to show a file chooser to the user to manually
select the storage root.
Document this behavior in the manifest as well, as the permission
causes some certification tests to fail (#453 ).
Change-Id: I3271b7969aacc014349766a022f13a00bea9ff85
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
2022-10-06 20:07:13 +05:30
Michael Bestas
a0ec8a5ecc
Properly pre-grant notification permission
2022-09-14 00:10:44 +05:30
Michael Bestas
e78094e197
Android.bp: whitelist -> allowlist
2022-09-14 00:10:44 +05:30
Chirayu Desai
270e0baeff
README: Add more details about branching ( #445 )
2022-09-13 14:53:10 -03:00
Aayush Gupta
a0d14910f6
Merge pull request #441 from grote/splitSourceDirs-npe
...
Handle null better for Android 13
2022-09-09 10:33:25 +05:30
Torsten Grote
dfc9aeee28
Expect BackupObserver to be called with null packages
2022-09-08 17:45:17 -03:00
Torsten Grote
848ed51de4
Expect ApplicationInfo#splitSourceDirs to be null
...
Also handle errors like these a bit better
2022-09-08 17:40:41 -03:00
Aayush Gupta
f5c58363ef
Merge pull request #439 from mikeNG/android13-aosp-fix
...
{seedvault|storage}: Add explicit dependencies for androidx.{fragment|activity}
2022-09-02 13:23:21 +05:30
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