Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc530220 authored by Wilson Wu's avatar Wilson Wu
Browse files

Remove redundant bindSequence logic in IMM

Remove a redundant code logic added by CL[1] when
handling the MSG_BIND_ACCESSIBILITY_SERVICE message.

Because we already early return when mBindSequence
is not equal to res.sequence.

[1]: Ia651a811093a939d00c081be1961e24ed3ad0356

Fix: 237980344
Bug: 236920321
Test: atest CtsInputMethodTestCases
Change-Id: I50fbebde0abe07faac68b0ba4f9ea30199a28df5
parent e2fdbeff
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1004,7 +1004,6 @@ public final class InputMethodManager {
                                }
                            }
                        }
                        mBindSequence = res.sequence;
                    }
                    startInputInner(StartInputReason.BOUND_ACCESSIBILITY_SESSION_TO_IMMS, null,
                            0, 0, 0);