Commit graph

1096 commits

Author SHA1 Message Date
Torsten Grote
9e56384cb2
Add core gradle module with unified storage backends 2024-09-12 09:18:21 -03:00
Torsten Grote
fa56a74ad7
Merge pull request #742 from theimpulson/a15
Android 15 updates
2024-09-12 09:17:31 -03:00
Aayush Gupta
bc2cb257b1 app: test: Force robolectric to SDK 34 for now
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-09-12 17:31:01 +05:30
Aayush Gupta
4a235c6739 app: test: Assert applicationInfo is non-null
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-09-10 12:13:21 +05:30
Aayush Gupta
217fd97d3e Bump target and compile SDK to API 35
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-09-10 12:13:15 +05:30
Aayush Gupta
a334eb0e91 Update AGP, Gradle and dependencies to AOSP versions
* Also regenerate JARs against Android 15 user build

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-09-09 11:39:58 +05:30
Torsten Grote
9461e18692
Merge pull request #740 from seedvault-app/cd/android15-version
Bump version to 15-4.1
2024-09-06 12:47:04 -03:00
Chirayu Desai
bf609f9723 Bump version to 15-4.1, mention 15 in README
* VanillaIceCream

Change-Id: Idd149e2be3329452ab61941cde2ff4f2ae3575ca
2024-09-06 20:52:49 +05:30
Torsten Grote
10f9f8e840
Merge pull request #729 from theimpulson/material3fixes
Fixes for Material3
2024-09-06 08:41:00 -03:00
Aayush Gupta
085d152e55 drawable: Use text color for system icons
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-09-06 12:50:42 +05:30
Torsten Grote
ff59decaab
Merge pull request #731 from lucasmz-dev/android14-bump-version
Bump version
2024-09-05 16:24:37 -03:00
Torsten Grote
dc9391deef
Merge pull request #723 from grote/allow-restore
Allow restore whenever the user feels like it
2024-09-05 16:24:13 -03:00
Torsten Grote
b8602fdcc2
Merge pull request #736 from grote/fix-retry
Fix retries: don't upload metadata three times
2024-09-05 16:14:20 -03:00
Torsten Grote
710354d6d0
Merge pull request #722 from grote/restore-foreground-service
Start a foreground service during restore
2024-09-05 16:14:02 -03:00
Torsten Grote
0a7ce66bcf
Merge pull request #733 from grote/install-fixes
Two small fixes for app restore
2024-09-05 09:27:00 -03:00
Torsten Grote
17d0885e77
Fix retries: don't upload metadata three times 2024-09-05 09:11:52 -03:00
Torsten Grote
40d0f55012
Show app is in progress before we download APKs 2024-08-28 15:07:36 -03:00
Torsten Grote
7214d9c666
Don't allow app selection toggles before icons have loaded 2024-08-28 15:07:31 -03:00
LucasMZ
006dfadca0
Bump to 14-4.1 - many cool things :D 2024-08-23 22:40:40 -03:00
Torsten Grote
d266c36c91
Don't use Context#startForegroundService() because we may get killed
If the foreground service doesn't have anything to do and terminates quickly, the system will kill us, even though the service had called startForeground(). To prevent this, we don't promise that our service will be a foreground service. We can still be a foreground service, but escape the punishment if we are too quick.
2024-08-22 17:45:39 -03:00
Torsten Grote
5418a8ef12
Merge pull request #721 from grote/dont-restore-existing-files
Don't restore files that still exist unchanged
2024-08-22 17:39:55 -03:00
Torsten Grote
418dfb344c
Fix joining string for file selection 2024-08-22 10:25:05 -03:00
Torsten Grote
a2189bc1f7
Restore files ownership only when file isn't pending anymore
because the system doesn't allow us to open files that we don't own
2024-08-22 09:35:40 -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
f51c758493
don't restore files that still exist unchanged
(same size and lastModified)
2024-08-22 09:35:39 -03:00
Torsten Grote
dc92e41aa8
declare foreground service type also when starting service 2024-08-22 09:35:39 -03:00
Torsten Grote
ff3956d9c4
store owner of media file and whether it is marked favorite 2024-08-22 09:35:39 -03:00
Torsten Grote
639947b87e
Start a foreground service during restore
so the system won't kill us, even if the user navigates away.
2024-08-21 17:28:37 -03:00
Torsten Grote
bebb9005da
Merge pull request #719 from grote/only-install-if-not-installed
Don't re-install apps that are already installed and disable auto-restore
2024-08-21 17:22:41 -03:00
Torsten Grote
5b085b6518
Merge pull request #725 from grote/usb-respect-backup-setting
Don't back up to USB, if backup disabled
2024-08-21 17:06:44 -03:00
Torsten Grote
61e748ac42
Don't back up to USB, if backup disabled 2024-08-21 14:47:54 -03:00
Torsten Grote
ebb662add7
Merge pull request #720 from grote/fix-app-selection
Fix app selection when restoring after SUW
2024-08-21 14:36:26 -03:00
Torsten Grote
99232862ca
Merge pull request #717 from grote/ask-if-restore
Ask on first run if user wants restore
2024-08-21 14:24:56 -03:00
Torsten Grote
1b9dc25896
Allow restore whenever the user feels like it 2024-08-20 17:53:24 -03:00
Torsten Grote
570850aa51
Disable auto-restore during install, if it was on 2024-08-16 10:53:00 -03:00
Torsten Grote
09074c5dff
Move Settings.Secure backup flags into BackupStateManager 2024-08-16 10:53:00 -03:00
Torsten Grote
3397fdbd87
Fix app selection when restoring after SUW 2024-08-16 09:45:46 -03:00
Torsten Grote
109e0ae281
Don't re-install apps that are already installed 2024-08-16 09:29:43 -03:00
Torsten Grote
7f934c8209
Fix back navigation when FirstRunFragment is shown 2024-08-15 18:29:38 -03:00
Torsten Grote
22b3ace3aa
Ask on first run if user wants restore 2024-08-15 18:29:37 -03:00
Torsten Grote
cff5d20342
Merge pull request #712 from grote/debug-launcher
Add launcher icon for debug builds
2024-08-15 18:28:25 -03:00
Torsten Grote
27cda5eba4
Merge pull request #718 from grote/non-suw-restore-uncheck
Uncheck system apps by default if restore outside of SUW
2024-08-15 18:04:23 -03:00
Torsten Grote
e4de9e1c41
Uncheck system apps by default if restore outside of SUW 2024-08-15 15:46:40 -03:00
Torsten Grote
e4a61c1f7a
Add Android Studio run configuration 2024-08-15 10:11:10 -03:00
Torsten Grote
e6e6154b7d
Add launcher icon for debug builds 2024-08-15 09:56:19 -03:00
Torsten Grote
b571da787a
Merge pull request #705 from grote/565-choose-files-restore
Allow choosing what files/folders will get restored
2024-08-15 09:42:54 -03:00
Torsten Grote
0a10db3bba
split out FilesItem class into own file 2024-08-02 13:54:44 -03:00
Torsten Grote
66836c875c
Fixes for MD3 that got merged in the meantime 2024-07-31 15:09:44 -03:00
Torsten Grote
777aa6d525
don't create empty snapshots 2024-07-31 15:09:43 -03:00
Torsten Grote
431e5ba8f5
toggle files checkbox when clicking them and add more space before checkbox 2024-07-31 15:09:43 -03:00