@@ -55,10 +55,10 @@ class InputLogicTest {
5555 private lateinit var latinIME: LatinIME
5656 private val settingsValues get() = Settings .getValues()
5757 private val inputLogic get() = latinIME.mInputLogic
58- private val connection: RichInputConnection get() = inputLogic.connection
59- private val composerReader = helium314.keyboard.latin.inputlogic. InputLogic ::class .java.getDeclaredField(" mWordComposer" ).apply { isAccessible = true }
58+ private val connection: RichInputConnection get() = inputLogic.mConnection
59+ private val composerReader = InputLogic ::class .java.getDeclaredField(" mWordComposer" ).apply { isAccessible = true }
6060 private val composer get() = composerReader.get(inputLogic) as WordComposer
61- private val spaceStateReader = helium314.keyboard.latin.inputlogic. InputLogic ::class .java.getDeclaredField(" mSpaceState" ).apply { isAccessible = true }
61+ private val spaceStateReader = InputLogic ::class .java.getDeclaredField(" mSpaceState" ).apply { isAccessible = true }
6262 private val spaceState get() = spaceStateReader.get(inputLogic) as Int
6363 private val beforeComposingReader = RichInputConnection ::class .java.getDeclaredField(" mCommittedTextBeforeComposingText" ).apply { isAccessible = true }
6464 private val connectionTextBeforeComposingText get() = (beforeComposingReader.get(connection) as CharSequence ).toString()
@@ -755,7 +755,7 @@ class InputLogicTest {
755755
756756 if (currentScript != ScriptUtils .SCRIPT_HANGUL // check fails if hangul combiner merges symbols
757757 && ! (codePoint == Constants .CODE_SPACE && oldBefore.lastOrNull() == ' ' ) // check fails when 2 spaces are converted into a period
758- && ! latinIME.mInputLogic.suggestedWords .mWillAutoCorrect // autocorrect obviously creates inconsistencies
758+ && ! latinIME.mInputLogic.mSuggestedWords .mWillAutoCorrect // autocorrect obviously creates inconsistencies
759759 ) {
760760 if (phantomSpaceToInsert.isEmpty())
761761 assertEquals(oldBefore + insert, textBeforeCursor)
0 commit comments