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

Skip to content
Commit 67a7f002 authored by Yohei Yukawa's avatar Yohei Yukawa
Browse files

Remove a redundant check from IMM#isAcceptingText()

This is a follow up CL to my previous CL [1], which rewrote

  InputMethodManager#isAcceptingText()

with a newly introduced internal method

  RemoteInputConnectionImpl#isFinished().

What I overlooked was the fact that

  mServedInputConnection.isFinished()

is guaranteed to return "true" while

  InputMethodManager#mServedInputConnection

is nonnull.  Let's simplify the logic.

This is a safe clean up.  There must be no observable behavior change.

 [1]: Ic5fbc6213ad62df95fc0b7eef18bab1fd9fbdbf1
      d1ff9740

Bug: 234882948
Test: presubmit
Change-Id: Icee431b05108aa607ea0a56c683a361399b7583e
parent 79420036
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment