From a668a3c8016d8039199747447d0f39a0be751980 Mon Sep 17 00:00:00 2001 From: Aleksandras Kostarevas Date: Fri, 27 Sep 2024 18:43:28 +0300 Subject: [PATCH] Disable some needless logging --- .../org/futo/inputmethod/keyboard/internal/KeyboardState.kt | 4 ++-- .../futo/inputmethod/v2keyboard/KeyboardSizingCalculator.kt | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/java/src/org/futo/inputmethod/keyboard/internal/KeyboardState.kt b/java/src/org/futo/inputmethod/keyboard/internal/KeyboardState.kt index 603911a12..2438e3b05 100644 --- a/java/src/org/futo/inputmethod/keyboard/internal/KeyboardState.kt +++ b/java/src/org/futo/inputmethod/keyboard/internal/KeyboardState.kt @@ -126,8 +126,8 @@ internal data class SavedKeyboardState( class KeyboardState(private val switchActions: SwitchActions) { companion object { private const val TAG = "KeyboardState" - private const val DEBUG_EVENT = true - private const val DEBUG_INTERNAL_ACTION = true + private const val DEBUG_EVENT = false + private const val DEBUG_INTERNAL_ACTION = false } private val shiftKeyState = ShiftKeyState("Shift") diff --git a/java/src/org/futo/inputmethod/v2keyboard/KeyboardSizingCalculator.kt b/java/src/org/futo/inputmethod/v2keyboard/KeyboardSizingCalculator.kt index 3c5415e64..becaa477e 100644 --- a/java/src/org/futo/inputmethod/v2keyboard/KeyboardSizingCalculator.kt +++ b/java/src/org/futo/inputmethod/v2keyboard/KeyboardSizingCalculator.kt @@ -317,7 +317,6 @@ class KeyboardSizingCalculator(val context: Context, val uixManager: UixManager) val effectiveRowCount = layout.effectiveRows.size val displayMetrics = context.resources.displayMetrics - println("Display metrics ${displayMetrics.widthPixels / displayMetrics.density}") val singularRowHeight = (ResourceUtils.getDefaultKeyboardHeight(context.resources) / 4.0) * savedSettings.heightMultiplier