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

Commit e49fea2d authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove a redundant check from IMM#isAcceptingText()"

parents d4e00f71 67a7f002
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1717,7 +1717,7 @@ public final class InputMethodManager {
    public boolean isAcceptingText() {
        checkFocus();
        synchronized (mH) {
            return mServedInputConnection != null && !mServedInputConnection.isFinished();
            return mServedInputConnection != null;
        }
    }

+1 −1
Original line number Diff line number Diff line
@@ -208,7 +208,7 @@ final class RemoteInputConnectionImpl extends IRemoteInputConnection.Stub {
     * @return {@code true} until the target {@link InputConnection} receives
     * {@link InputConnection#closeConnection()} as a result of {@link #deactivate()}.
     */
    public boolean isFinished() {
    private boolean isFinished() {
        synchronized (mLock) {
            return mFinished;
        }