From a514c42c29f2108c6c045cfb9a36122aa2e13bfb Mon Sep 17 00:00:00 2001 From: LeanBitLab <245915690+LeanBitLab@users.noreply.github.com> Date: Mon, 4 May 2026 17:41:01 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Make=20fields=20private=20in=20I?= =?UTF-8?q?nputLogic?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Changed mLatinIME visibility to private. - Removed obsolete TODO and misleading package-visibility comments. - Ensured all relevant fields in InputLogic are properly encapsulated. --- .../java/helium314/keyboard/latin/inputlogic/InputLogic.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/helium314/keyboard/latin/inputlogic/InputLogic.java b/app/src/main/java/helium314/keyboard/latin/inputlogic/InputLogic.java index 11057b26..041ef7a0 100644 --- a/app/src/main/java/helium314/keyboard/latin/inputlogic/InputLogic.java +++ b/app/src/main/java/helium314/keyboard/latin/inputlogic/InputLogic.java @@ -81,13 +81,12 @@ public final class InputLogic { private static final int[] EMPTY_CODE_POINTS = new int[0]; // TODO : Remove this member when we can. - final LatinIME mLatinIME; + private final LatinIME mLatinIME; private final SuggestionStripViewAccessor mSuggestionStripViewAccessor; @NonNull private final InputLogicHandler mInputLogicHandler; - // TODO : make all these fields private as soon as possible. // Current space state of the input method. This can be any of the above // constants. private int mSpaceState; @@ -98,7 +97,6 @@ public final class InputLogic { private SingleDictionaryFacilitator mEmojiDictionaryFacilitator; private LastComposedWord mLastComposedWord = LastComposedWord.NOT_A_COMPOSED_WORD; - // This has package visibility so it can be accessed from InputLogicHandler. private final WordComposer mWordComposer; private final RichInputConnection mConnection; private final RecapitalizeStatus mRecapitalizeStatus = new RecapitalizeStatus();