mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Fix crash in optimized build
This commit is contained in:
parent
e4d41567b0
commit
4ebd5efcbc
@ -4,8 +4,10 @@ import android.content.Context
|
|||||||
import android.net.Uri
|
import android.net.Uri
|
||||||
import android.provider.OpenableColumns
|
import android.provider.OpenableColumns
|
||||||
import android.util.Log
|
import android.util.Log
|
||||||
|
import androidx.annotation.Keep
|
||||||
import androidx.datastore.preferences.core.stringSetPreferencesKey
|
import androidx.datastore.preferences.core.stringSetPreferencesKey
|
||||||
import kotlinx.coroutines.flow.MutableSharedFlow
|
import kotlinx.coroutines.flow.MutableSharedFlow
|
||||||
|
import org.futo.inputmethod.annotations.ExternallyReferenced
|
||||||
import org.futo.inputmethod.latin.R
|
import org.futo.inputmethod.latin.R
|
||||||
import org.futo.inputmethod.latin.uix.SettingsKey
|
import org.futo.inputmethod.latin.uix.SettingsKey
|
||||||
import org.futo.inputmethod.latin.uix.getSetting
|
import org.futo.inputmethod.latin.uix.getSetting
|
||||||
@ -22,6 +24,8 @@ val MODEL_OPTION_KEY = SettingsKey(
|
|||||||
setOf("en:$BASE_MODEL_NAME")
|
setOf("en:$BASE_MODEL_NAME")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@Keep
|
||||||
|
@ExternallyReferenced
|
||||||
data class ModelInfo(
|
data class ModelInfo(
|
||||||
val name: String,
|
val name: String,
|
||||||
val description: String,
|
val description: String,
|
||||||
|
Loading…
Reference in New Issue
Block a user