diff options
author | cos <cos> | 2024-07-05 17:27:44 +0200 |
---|---|---|
committer | cos <cos> | 2024-10-12 17:29:20 +0200 |
commit | 7eab0b937578b9adcd63606629a6837dff5d7475 (patch) | |
tree | 8640c611e9bd6f46e27210d17461e1d25737c1dc /gradle | |
parent | e41536783edab8145e9882dfbf3647e93707c509 (diff) | |
download | AntennaPod-fix/inform_on_db_moved.zip |
Inform user about CorruptDatabaseBackup.dbfix/inform_on_db_moved
Prior to this commit, the user gets no feedback what-so-ever of what is
going on when a corrupted database gets renamed. Which we should assume
can be a quite horrifying experience.
This adds a friendly message about what has happened, and suggests what
to do.
GitHub issue #6212, named "More useful error message for corrupted
databases", might still be relevant for the "more useful" part.
By reusing the design and making the dual-alternative of HomeFragment
into instead one of three container views, the code changes stay small
and complexity low. Easy to merge, and easy to revert once some code for
a better implementation actually gets available.
The date parsing, used when logging detection of a corrupt database, is
copied verbatim from CrashReportWriter.java which presumably should make
it reasonable enough.
Diffstat (limited to 'gradle')
0 files changed, 0 insertions, 0 deletions