ankidroid / ankidroid/Anki-Android

Collection verifying startup code in DeckPicker, IntentHandler (and others) also startup

Offen
#5,135 3 Kommentare 2 Reaktionen 1 zugewiesene Person Beansprucht von @mikehardy Auf GitHub ansehen
Enhancement Keep Open
Vorherrschende Sprache
Kotlin
Sterne
11.8k
Forks
2.9k
Ø Merge
2 T. 3 Std.
Gemergte PRs (30 T.)
171

Beschreibung

The issue with #5072 has a root cause that is related to DeckPicker having all our startup code that is protective and makes sure we have access to the collection, but IntentHandler is also a valid startup pathway and doesn't always distribute control to DeckPicker.

The protective code from DeckPicker's startup area needs to move to a dedicated "startup" area and all entry points should reference it.

This could be contemplated at the same time as a full database migration solution #5120 since it would also need to run on startup every time

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.