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

Commit 79294b49 authored by Nikolas Havrikov's avatar Nikolas Havrikov
Browse files

Remove unwarranted local variable

This is a step in a larger refactoring.

Bug: 205676419
Test: make
Change-Id: I892112f114428af49dae60581dd9ae82ec5ce74a
parent 7318f963
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -385,8 +385,7 @@ final class InputMethodBindingController {
            throw new IllegalArgumentException("Unknown id: " + mSelectedMethodId);
        }

        Intent intent = createImeBindingIntent(info.getComponent());
        mCurIntent = intent;
        mCurIntent = createImeBindingIntent(info.getComponent());

        if (bindCurrentInputMethodServiceMainConnectionLocked()) {
            mService.addFreshWindowTokenLocked(displayIdToShowIme, info.getId());
@@ -395,9 +394,9 @@ final class InputMethodBindingController {
                    null, null, mCurId, mCurSeq, false);
        }

        mCurIntent = null;
        Slog.w(InputMethodManagerService.TAG,
                "Failure connecting to input method service: " + intent);
                "Failure connecting to input method service: " + mCurIntent);
        mCurIntent = null;
        return InputBindResult.IME_NOT_CONNECTED;
    }