Torsten Grote
1bbaf3f55b
Fix camel case in recovery code strings
2021-04-16 23:04:30 +05:30
Torsten Grote
395cc4c899
Allow user to generate new recovery code
2021-04-16 23:04:30 +05:30
Torsten Grote
d64413a7c3
Allow user to verify existing recovery code
2021-04-16 23:04:30 +05:30
Michael Bestas
af45233e02
strings: Avoid using camel case
...
Change-Id: I0365a381f4c2f28d3d61b4f90c66af9e557a50d2
2021-04-16 23:04:30 +05:30
Torsten Grote
c885499faf
Remove string that isn't needed anymore and change one
2020-11-25 08:41:46 -03:00
Torsten Grote
b1a0c1b2e2
Group app status list into three sections
...
* important system apps
* user apps
* apps not allowing backup
2020-11-18 16:35:45 -03:00
Torsten Grote
7694eb3cf9
Move to different versioning scheme and show version in About dialog
2020-10-29 20:50:53 +05:30
Torsten Grote
81cd67217b
Show backup status of select system apps
2020-10-29 20:23:01 +05:30
Torsten Grote
2cde417c8c
Add config option to re-install apps with feature modules only on same device
...
There is a possibility that incompatible APK splits make a an app crash when starting after re-installing it.
With that config option each OEM can decide with they want to take this risk or not.
2020-10-22 08:00:55 -03:00
Torsten Grote
a833df2165
Show dialog explaining auto-restore after a restore failed due to not all apps being installed
2020-10-22 08:00:54 -03:00
Torsten Grote
d6cb34c211
Allow the user to manually re-install apps before data restore starts
...
When one or more apps fail to install, the user is shown a dialog explaining that we need the apps installed in order for restore to work.
After the dialog is dismissed, the list of apps is resorted so failed apps are at the top. They are made clickable and the user is brought to an app store to re-install them.
2020-10-13 18:32:04 +05:30
Torsten Grote
9830d2db95
Show different app state messages for backup and restore
2020-10-13 18:32:04 +05:30
Torsten Grote
948cd597d8
Show proper transport labels for OS transport selection
...
If an AOSP-based ROM allows the user to choose a backup transport, these labels will be shown.
2020-10-08 19:27:51 +05:30
Torsten Grote
57f404281c
Fix lint warnings
2020-10-07 19:01:39 +05:30
Torsten Grote
e3406613a6
Always show Nextcloud as an option, offer to install or set up account
...
Outside of SetupWizard restore, we don't offer to set up an account,
because we don't know if one already exists and the app was locked with
a passcode.
2020-09-25 06:05:47 +05:30
Torsten Grote
7f4761816e
Show a different text for stopped apps in app backups status page
2020-09-25 05:55:40 +05:30
Torsten Grote
77550a9860
Treat stopped apps different from opt-out apps
...
Apps that have FLAG_STOPPED will not get backed up, just like apps
without flag ALLOW_BACKUP will not get backed up.
In the UI both cases are shown the same way: app does not allow backup
This can be confusing for the user as it is not true for stopped apps.
Therefore, this commit introduces a new stopped state for apps,
so we can differentiate between both cases.
2020-09-25 05:55:40 +05:30
Torsten Grote
1cdc2be930
Don't let the user start a new backup when one is already in progress
2020-09-11 19:04:38 +05:30
Torsten Grote
80187c8c70
Show percentages in progress notification and x of n status at the end
...
Fine-grained progress reporting causes apps to show up twice which is
confusing. Also @pm@ metadata and opt-out APKs are too much detail for
normal users. So we decided to only show a percentage in the progress
notification.
When the backup finished, the app now shows "x of n apps backed up"
which is more positive when the previous negative message of how many
apps were not backed up.
Some further minor tweets were done to app counting to report proper
totals.
2020-09-11 19:04:38 +05:30
Torsten Grote
983f917391
Let backup notification report more fine-grained progress
...
This adds @pm@ record backup and APK backup of opt-out apps to the
progress reporting since these two operations are slow when using a
cloud storage SAF backend.
2020-09-11 19:04:38 +05:30
Michael Bestas
46cd13a55c
String improvements
...
* Don't use camel case, following AOSP applications
* Set app name and Nextcloud as untranslatable
2020-09-11 19:04:38 +05:30
Torsten Grote
324da2a9e9
Allow the user to exclude apps from backup
...
Closes #70
2020-01-20 11:58:38 -03:00
Torsten Grote
c92b9a3606
Credit Glenn Sorrentino on About page
2020-01-20 10:01:44 -03:00
Torsten Grote
fcf17fe23a
Show list of apps and their backup status
2020-01-18 16:38:55 -03:00
Torsten Grote
6ed522bfb7
Show one single progress bar in the notification
...
Also don't show individual package results,
but a single dismissible status notification in the end.
Closes #59 , #61
2020-01-14 15:18:16 -03:00
Torsten Grote
2bcf82d607
Show heads-up notification when auto-restore fails due to removed storage
2020-01-14 10:17:38 -03:00
Torsten Grote
43184f4d23
Add note to auto-restore setting in case removable storage is used
...
This warns the user that auto-restore will only work when their storage
is plugged in.
2020-01-14 10:17:37 -03:00
Torsten Grote
22be36e2a7
When an app could not be restored, show the likely reason for it
2020-01-14 10:11:17 -03:00
Torsten Grote
3f73119b52
Show restore data progress bar and improve readability of log messages
2020-01-14 07:45:40 -03:00
Torsten Grote
2f352fe828
Show list of packages that we could restore data for
2020-01-14 07:45:39 -03:00
Torsten Grote
96a4642f4f
Show list of re-installed apps and let the user review it before restoring data
2020-01-14 07:45:38 -03:00
Torsten Grote
f562857514
Expose APK backup feature as a setting, so the user can disable it
...
The user might not want to have their apps copied to the storage,
because it is very slow or for other reasons.
2020-01-14 07:45:38 -03:00
Torsten Grote
7605762631
Re-install backed-up APKs before restoring from backup
2020-01-14 07:45:37 -03:00
Torsten Grote
791f68300d
Allow to setup NextCloud account during restore
...
This is especially useful when restore is only allowed during
SetupWizard and the backup was stored on a NextCloud account.
2019-12-11 13:48:00 -03:00
Steve Soltys
cf86c57760
Merge pull request #52 from grote/about-page
...
Add About page
2019-12-07 15:13:01 -05:00
Torsten Grote
88a250ff5c
Use separate dev config and document existing config
...
Attention: This also changes the action to launch restore activity
2019-12-06 12:33:50 -03:00
Torsten Grote
49ce4b393f
Add a configurable white-list for backup storage
2019-12-06 12:21:49 -03:00
Torsten Grote
3093e3a789
Add About DialogFragment reachable from main overflow menu
2019-12-06 09:31:48 -03:00
Steve Soltys
32f558faf1
Rebrand application as 'Seedvault'
2019-10-28 21:57:47 -04:00
Torsten Grote
c9a29810fc
Remove unused code and resources
2019-09-25 11:04:24 -03:00
Torsten Grote
007dd7759d
Save the time of the last backup and only do automatic flash drive backups once a day
...
This commit also turns SettingsManager into a class, so we can mock
and later also inject it.
2019-09-23 10:10:27 -03:00
Torsten Grote
0e5f9cff0f
Remove the progress bar for restore operation as progress reporting is bugyy
...
This also adds an additional warning when the user is using ejectable storage
2019-09-18 09:26:32 -03:00
Torsten Grote
55d92aec39
Adapt UI and text to the different use-cases (backup vs. restore)
2019-09-17 15:48:59 -03:00
Torsten Grote
10ad6d6b2d
Improve error message when no backups could be found for restore
2019-09-17 12:14:53 -03:00
Torsten Grote
54ad762eb1
Save more information about current storage location
...
Show storage name in settings
2019-09-17 12:14:53 -03:00
Torsten Grote
4efaa08881
Show notification right away when requesting manual backup
2019-09-17 12:14:53 -03:00
Torsten Grote
6d8178f6b1
Use the MANAGE_DOCUMENTS permission to show possible storage locations
...
This also auto-grants the needed Uri permission,
so the user does not need to go through the OS folder selection activity.
2019-09-17 12:14:51 -03:00
Torsten Grote
9cede639f3
When restoring, ask for location first and then restore code
...
This also checks if there's a backup at the chosen location
and requires the user to select another once,
if we can not find a backup.
2019-09-11 17:26:03 -03:00
Torsten Grote
1a7fdfa59a
Implement restoring of backup and show progress in UI
...
Note that the progress view is not exact as the progress reporting of
AOSP seems to be buggy.
2019-09-10 13:35:58 -03:00
Torsten Grote
491789e8e0
Add a RestoreActivity that lists available RestoreSets (backups)
...
and allows the user to select one to get restored.
2019-09-10 13:35:57 -03:00