chore: add more isd-r aids #184
2 changed files with 20 additions and 9 deletions
|
@ -45,11 +45,22 @@ const val EUICC_DEFAULT_ISDR_AID = "A0000005591010FFFFFFFF8900000100"
|
||||||
internal object PreferenceConstants {
|
internal object PreferenceConstants {
|
||||||
val DEFAULT_AID_LIST = """
|
val DEFAULT_AID_LIST = """
|
||||||
# One AID per line. Comment lines start with #.
|
# One AID per line. Comment lines start with #.
|
||||||
|
# Refs: <https://euicc-manual.osmocom.org/docs/lpa/applet-id-oem/>
|
||||||
|
|
||||||
# eUICC standard
|
# eUICC standard
|
||||||
$EUICC_DEFAULT_ISDR_AID
|
$EUICC_DEFAULT_ISDR_AID
|
||||||
|
|
||||||
# 5ber
|
# eSTK.me
|
||||||
|
A06573746B6D65FFFFFFFF4953442D52
|
||||||
|
|
||||||
|
# eSIM.me
|
||||||
|
A0000005591010000000008900000300
|
||||||
|
|
||||||
|
# 5ber.eSIM
|
||||||
A0000005591010FFFFFFFF8900050500
|
A0000005591010FFFFFFFF8900050500
|
||||||
|
|
||||||
|
# Xesim
|
||||||
|
A0000005591010FFFFFFFF8900000177
|
||||||
""".trimIndent()
|
""".trimIndent()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -97,8 +108,7 @@ class PreferenceFlowWrapper<T> private constructor(
|
||||||
defaultValue: T,
|
defaultValue: T,
|
||||||
encoder: (T) -> T,
|
encoder: (T) -> T,
|
||||||
decoder: (T) -> T
|
decoder: (T) -> T
|
||||||
) :
|
) : this(
|
||||||
this(
|
|
||||||
context,
|
context,
|
||||||
key,
|
key,
|
||||||
context.dataStore.data.map { it[key]?.let(decoder) ?: defaultValue },
|
context.dataStore.data.map { it[key]?.let(decoder) ?: defaultValue },
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
android:id="@+id/isdr_aid_list_editor"
|
android:id="@+id/isdr_aid_list_editor"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
|
android:fontFamily="monospace"
|
||||||
android:importantForAutofill="no"
|
android:importantForAutofill="no"
|
||||||
android:inputType="textMultiLine"
|
android:inputType="textMultiLine"
|
||||||
android:gravity="top|start"
|
android:gravity="top|start"
|
||||||
|
|
Loading…
Add table
Reference in a new issue