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
Torsten Grote
e7999db83f
Merge pull request #708 from theimpulson/material3
...
fragment_backup_content: Don't set custom style on FAB
2024-07-31 11:49:15 -03:00
Aayush Gupta
ce2b9c15f1
Bump AGP, Gradle and dependencies to latest stable release
...
dependencies are QPR3
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-27 13:06:19 +07:00
Aayush Gupta
955f38fb44
fragment_backup_content: Don't set custom style on FAB
...
Conflicts with dynamic theme
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-27 11:25:55 +07:00
Torsten Grote
a07ab64469
Merge pull request #699 from theimpulson/material3
...
Material3
2024-07-26 15:06:24 -03:00
Aayush Gupta
2f96393a89
Apply dynamic colors to all acitvites
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-26 15:53:10 +07:00
Aayush Gupta
3f7022ecb7
fragment_restore_app_selection: Set background color to squashed layout
...
CollapsingToolbarLayout doesn't seems to be respecting background color for some reason
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-11 16:57:06 +07:00
Aayush Gupta
70413f1425
drawable: Tint colors directly instead of relying on system theme
...
Material theme seems to be not respecting the tint color in the XML.
Override the colors manually to get the job done.
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-11 16:39:52 +07:00
Torsten Grote
07116b4f4c
Use MD3 switches for files backup config
2024-07-11 15:59:03 +07:00
Torsten Grote
0dcab41fd1
Use MD3 switches in settings
2024-07-11 15:59:03 +07:00
Aayush Gupta
98c6ebab8d
SchedulingFragment: Implement Material3 based ListPreference
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-11 15:59:03 +07:00
Aayush Gupta
d15fe36638
RecoveryCodeInputFragment: Switch to MaterialAutoCompleteTextView
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-11 15:59:02 +07:00
Aayush Gupta
cdcb862d9d
Migrate to MaterialAlertDialog everywhere
...
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-11 15:59:02 +07:00
Aayush Gupta
033498aa17
themes: Switch to Material3 theme
...
* Merge accent and primary color for simpler color management
* Apply background color on status and navigation bar
* Drop non-required colors
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-11 15:59:02 +07:00
Aayush Gupta
412ed9ee16
themes: Switch to single theme for all activities
...
Default to NoActionBar theme and use toolbar where required
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
2024-07-11 15:59:02 +07:00
Torsten Grote
12fb4d13d4
Merge pull request #686 from seedvault-app/cde/macos-12
...
Use macOS 12 for test workflows, 11 will soon be deprecated
2024-07-10 14:12:59 -03:00