Loading services/core/java/com/android/server/inputmethod/InputMethodManagerService.java +4 −3 Original line number Diff line number Diff line Loading @@ -3933,7 +3933,7 @@ public final class InputMethodManagerService implements IInputMethodManagerImpl. } final var statsToken = createStatsTokenForFocusedClient(isShow, imeVisRes.getReason()); mVisibilityApplier.applyImeVisibility(mImeBindingState.mFocusedWindow, statsToken, imeVisRes.getState(), imeVisRes.getReason()); imeVisRes.getState(), imeVisRes.getReason(), bindingController.mUserId); if (imeVisRes.getReason() == SoftInputShowHideReason.HIDE_UNSPECIFIED_WINDOW) { // If focused display changed, we should unbind current method // to make app window in previous display relayout after Ime Loading Loading @@ -4821,7 +4821,7 @@ public final class InputMethodManagerService implements IInputMethodManagerImpl. @NonNull ImeVisibilityResult result) { synchronized (ImfLock.class) { mVisibilityApplier.applyImeVisibility(windowToken, statsToken, result.getState(), result.getReason()); result.getReason(), mCurrentUserId); } } Loading Loading @@ -5105,7 +5105,8 @@ public final class InputMethodManagerService implements IInputMethodManagerImpl. if (imeVisRes != null) { // Pass in a null statsToken as the IME snapshot is not tracked by ImeTracker. mVisibilityApplier.applyImeVisibility(mImeBindingState.mFocusedWindow, null /* statsToken */, imeVisRes.getState(), imeVisRes.getReason()); null /* statsToken */, imeVisRes.getState(), imeVisRes.getReason(), mCurrentUserId); } // Eligible IME processes use new "setInteractive" protocol. mCurClient.mClient.setInteractive(mIsInteractive, mInFullscreenMode); Loading Loading
services/core/java/com/android/server/inputmethod/InputMethodManagerService.java +4 −3 Original line number Diff line number Diff line Loading @@ -3933,7 +3933,7 @@ public final class InputMethodManagerService implements IInputMethodManagerImpl. } final var statsToken = createStatsTokenForFocusedClient(isShow, imeVisRes.getReason()); mVisibilityApplier.applyImeVisibility(mImeBindingState.mFocusedWindow, statsToken, imeVisRes.getState(), imeVisRes.getReason()); imeVisRes.getState(), imeVisRes.getReason(), bindingController.mUserId); if (imeVisRes.getReason() == SoftInputShowHideReason.HIDE_UNSPECIFIED_WINDOW) { // If focused display changed, we should unbind current method // to make app window in previous display relayout after Ime Loading Loading @@ -4821,7 +4821,7 @@ public final class InputMethodManagerService implements IInputMethodManagerImpl. @NonNull ImeVisibilityResult result) { synchronized (ImfLock.class) { mVisibilityApplier.applyImeVisibility(windowToken, statsToken, result.getState(), result.getReason()); result.getReason(), mCurrentUserId); } } Loading Loading @@ -5105,7 +5105,8 @@ public final class InputMethodManagerService implements IInputMethodManagerImpl. if (imeVisRes != null) { // Pass in a null statsToken as the IME snapshot is not tracked by ImeTracker. mVisibilityApplier.applyImeVisibility(mImeBindingState.mFocusedWindow, null /* statsToken */, imeVisRes.getState(), imeVisRes.getReason()); null /* statsToken */, imeVisRes.getState(), imeVisRes.getReason(), mCurrentUserId); } // Eligible IME processes use new "setInteractive" protocol. mCurClient.mClient.setInteractive(mIsInteractive, mInFullscreenMode); Loading