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

Commit 83fe0d64 authored by Nikolas Havrikov's avatar Nikolas Havrikov
Browse files

Inline getter in InputMethodBindingController

Test: make
Change-Id: Id513779a289dd06158a61804c3606907cd36608e
parent b0f1e19c
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()));
    }