diff options
| author | 2023-01-16 14:27:39 +0000 | |
|---|---|---|
| committer | 2023-01-16 14:27:39 +0000 | |
| commit | 9af18fd913efc64cf5cd864fe223ef80aa998ffc (patch) | |
| tree | 8a97e1f07f7517f7a0fa886561e7993f094853b7 | |
| parent | 979347463aca1fb824dd0b458b6f552ee84bc8f3 (diff) | |
| parent | 83fe0d64cf5ac0952a3bf05b49b60ecc588b2ecf (diff) | |
Merge "Inline getter in InputMethodBindingController"
| -rw-r--r-- | services/core/java/com/android/server/inputmethod/InputMethodBindingController.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/core/java/com/android/server/inputmethod/InputMethodBindingController.java b/services/core/java/com/android/server/inputmethod/InputMethodBindingController.java index 187de930cff3..ba9e280be49d 100644 --- a/services/core/java/com/android/server/inputmethod/InputMethodBindingController.java +++ b/services/core/java/com/android/server/inputmethod/InputMethodBindingController.java @@ -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())); } |