Merge "Inline getter in InputMethodBindingController"
This commit is contained in:
committed by
Android (Google) Code Review
commit
9af18fd913
@@ -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()));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user