update readme and do some more logging

This commit is contained in:
Helium314 2024-02-15 16:32:25 +01:00
parent b34ac45312
commit 759cb48e1e
2 changed files with 2 additions and 2 deletions

View file

@ -195,7 +195,7 @@ private fun getDefaultEnabledSubtypes(): List<InputMethodSubtype> {
/** string for for identifying a subtype, does not contain all necessary information to actually create it */
private fun InputMethodSubtype.prefString(): String {
if (DebugFlags.DEBUG_ENABLED && Build.VERSION.SDK_INT >= Build.VERSION_CODES.N && locale().toLanguageTag() == "und") {
Log.e(TAG, "unknown language, should not happen ${locale}, $languageTag, $this")
Log.e(TAG, "unknown language, should not happen ${locale}, $languageTag, $extraValue, ${hashCode()}, $nameResId")
}
return locale().toLanguageTag() + LOCALE_LAYOUT_SEPARATOR + SubtypeLocaleUtils.getKeyboardLayoutSetName(this)
}