ankidroid / ankidroid/Anki-Android

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

Ouverte
#5,135 3 commentaires 2 réactions 1 personne assignée Réclamée par @mikehardy Voir sur GitHub
Enhancement Keep Open
Langage dominant
Kotlin
Étoiles
11.8k
Forks
2.9k
Merge moyen
2 j 3 h
PR mergées (30 j)
171

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.