Disable some needless logging

This commit is contained in:
Aleksandras Kostarevas 2024-09-27 18:43:28 +03:00
parent c5cb5efabd
commit a668a3c801
2 changed files with 2 additions and 3 deletions

View File

@ -126,8 +126,8 @@ internal data class SavedKeyboardState(
class KeyboardState(private val switchActions: SwitchActions) { class KeyboardState(private val switchActions: SwitchActions) {
companion object { companion object {
private const val TAG = "KeyboardState" private const val TAG = "KeyboardState"
private const val DEBUG_EVENT = true private const val DEBUG_EVENT = false
private const val DEBUG_INTERNAL_ACTION = true private const val DEBUG_INTERNAL_ACTION = false
} }
private val shiftKeyState = ShiftKeyState("Shift") private val shiftKeyState = ShiftKeyState("Shift")

View File

@ -317,7 +317,6 @@ class KeyboardSizingCalculator(val context: Context, val uixManager: UixManager)
val effectiveRowCount = layout.effectiveRows.size val effectiveRowCount = layout.effectiveRows.size
val displayMetrics = context.resources.displayMetrics val displayMetrics = context.resources.displayMetrics
println("Display metrics ${displayMetrics.widthPixels / displayMetrics.density}")
val singularRowHeight = (ResourceUtils.getDefaultKeyboardHeight(context.resources) / 4.0) * val singularRowHeight = (ResourceUtils.getDefaultKeyboardHeight(context.resources) / 4.0) *
savedSettings.heightMultiplier savedSettings.heightMultiplier