Loading core/java/android/view/ImeFocusController.java +4 −6 Original line number Diff line number Diff line Loading @@ -54,13 +54,11 @@ public final class ImeFocusController { @NonNull private InputMethodManagerDelegate getImmDelegate() { InputMethodManagerDelegate delegate = mDelegate; if (delegate != null) { return delegate; if (mDelegate == null) { mDelegate = mViewRootImpl.mContext.getSystemService( InputMethodManager.class).getDelegate(); } delegate = mViewRootImpl.mContext.getSystemService(InputMethodManager.class).getDelegate(); mDelegate = delegate; return delegate; return mDelegate; } /** Called when the view root is moved to a different display. */ Loading Loading
core/java/android/view/ImeFocusController.java +4 −6 Original line number Diff line number Diff line Loading @@ -54,13 +54,11 @@ public final class ImeFocusController { @NonNull private InputMethodManagerDelegate getImmDelegate() { InputMethodManagerDelegate delegate = mDelegate; if (delegate != null) { return delegate; if (mDelegate == null) { mDelegate = mViewRootImpl.mContext.getSystemService( InputMethodManager.class).getDelegate(); } delegate = mViewRootImpl.mContext.getSystemService(InputMethodManager.class).getDelegate(); mDelegate = delegate; return delegate; return mDelegate; } /** Called when the view root is moved to a different display. */ Loading