ankidroid / ankidroid/Anki-Android

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

Aperta
#5,135 3 commenti 2 reazioni 1 assegnatario Rivendicata da @mikehardy Vedi su GitHub
Enhancement Keep Open
Lingua principale
Kotlin
Stelle
11.8k
Fork
2.9k
Merge medio
2g 3h
PR unite (30g)
171

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.