Commit graph

1237 commits

Author SHA1 Message Date
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
Torsten Grote
118b2c0be0
Integrate files selection into real Seedvault app 2024-07-31 15:09:43 -03:00
Torsten Grote
dbb40a4a5b
Only attempt to do a manual app backup, if it is actually enabled 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
Torsten Grote
2b07b8417c
Add FileSelectionManager to storage lib
This new manager will be responsible for handling file selection by user prior to restore.
2024-07-31 15:09:42 -03:00
Torsten Grote
adbc412d20
Merge pull request #709 from theimpulson/gradle
Bump AGP, Gradle and dependencies to latest stable release
2024-07-31 14:59:09 -03:00
Torsten Grote
2741db3a67
Upgrade coroutines to 1.7.3 to fix lint task 2024-07-31 14:44:07 -03:00
Torsten Grote
4f341d177c
Merge pull request #710 from seedvault-app/t-m-w-patch-1
Fix AOSP build
2024-07-31 14:38:55 -03:00
t-m-w
a00ee0fa4f
Fix AOSP build 2024-07-31 11:02:33 -04:00