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

Commit 9af18fd9 authored by Nikolas Havrikov's avatar Nikolas Havrikov Committed by Android (Google) Code Review
Browse files

Merge "Inline getter in InputMethodBindingController"

parents 97934746 83fe0d64
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -469,11 +469,11 @@ final class InputMethodBindingController {

    @GuardedBy("ImfLock.class")
    private boolean bindCurrentInputMethodService(ServiceConnection conn, int flags) {
        if (getCurIntent() == null || conn == null) {
        if (mCurIntent == null || conn == null) {
            Slog.e(TAG, "--- bind failed: service = " + mCurIntent + ", conn = " + conn);
            return false;
        }
        return mContext.bindServiceAsUser(getCurIntent(), conn, flags,
        return mContext.bindServiceAsUser(mCurIntent, conn, flags,
                new UserHandle(mSettings.getCurrentUserId()));
    }