ankidroid / ankidroid/Anki-Android

New backend corruption exception should show `DIALOG_LOAD_FAILED`

Open
#19,339 5 comments 0 reactions 0 assignees View on GitHub
2.23
Dominant language
Kotlin
Stars
11.8k
Forks
2.9k
Avg merge
2d 3h
Merged PRs (30d)
171

Description

* https://github.com/ankidroid/Anki-Android/labels/Blocked%20by%20dependency https://github.com/ankidroid/Anki-Android-Backend/pull/585

> From memory, it was an explicit decision to avoid the `onCorrupt` call as the Android's default implementation is to permanently delete the database.
>
> But on the Anki-Android side, we want to be sure that the exception still opens the correct "corrupt DB" screen

_Originally posted by @david-allison in https://github.com/ankidroid/Anki-Android-Backend/issues/585#issuecomment-3413390582_

----

* Related: https://github.com/ankidroid/Anki-Android/issues/19092

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.