mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-06-25 18:40:53 +00:00
update readme and do some more logging
This commit is contained in:
parent
b34ac45312
commit
759cb48e1e
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue