Loading services/core/java/com/android/server/inputmethod/ImeVisibilityStateComputer.java +0 −2 Original line number Diff line number Diff line Loading @@ -227,7 +227,6 @@ public final class ImeVisibilityStateComputer { ? overlayWindowToken : null; synchronized (ImfLock.class) { mCurVisibleImeLayeringOverlay = overlay; } } Loading Loading @@ -577,7 +576,6 @@ public final class ImeVisibilityStateComputer { } @GuardedBy("ImfLock.class") @VisibleForTesting ImeVisibilityResult onInteractiveChanged(IBinder windowToken, boolean interactive) { final ImeTargetWindowState state = getWindowStateOrNull(windowToken); if (state != null && state.isRequestedImeVisible() && mInputShown && !interactive) { Loading services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/ImeVisibilityStateComputerTest.java +2 −4 Original line number Diff line number Diff line Loading @@ -311,10 +311,8 @@ public class ImeVisibilityStateComputerTest extends InputMethodManagerServiceTes final ArgumentCaptor<IBinder> targetCaptor = ArgumentCaptor.forClass(IBinder.class); final ArgumentCaptor<ImeVisibilityResult> resultCaptor = ArgumentCaptor.forClass( ImeVisibilityResult.class); synchronized (ImfLock.class) { verify(mInputMethodManagerService).onApplyImeVisibilityFromComputerLocked( targetCaptor.capture(), notNull() /* statsToken */, resultCaptor.capture()); } final IBinder imeInputTarget = targetCaptor.getValue(); final ImeVisibilityResult result = resultCaptor.getValue(); Loading Loading
services/core/java/com/android/server/inputmethod/ImeVisibilityStateComputer.java +0 −2 Original line number Diff line number Diff line Loading @@ -227,7 +227,6 @@ public final class ImeVisibilityStateComputer { ? overlayWindowToken : null; synchronized (ImfLock.class) { mCurVisibleImeLayeringOverlay = overlay; } } Loading Loading @@ -577,7 +576,6 @@ public final class ImeVisibilityStateComputer { } @GuardedBy("ImfLock.class") @VisibleForTesting ImeVisibilityResult onInteractiveChanged(IBinder windowToken, boolean interactive) { final ImeTargetWindowState state = getWindowStateOrNull(windowToken); if (state != null && state.isRequestedImeVisible() && mInputShown && !interactive) { Loading
services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/ImeVisibilityStateComputerTest.java +2 −4 Original line number Diff line number Diff line Loading @@ -311,10 +311,8 @@ public class ImeVisibilityStateComputerTest extends InputMethodManagerServiceTes final ArgumentCaptor<IBinder> targetCaptor = ArgumentCaptor.forClass(IBinder.class); final ArgumentCaptor<ImeVisibilityResult> resultCaptor = ArgumentCaptor.forClass( ImeVisibilityResult.class); synchronized (ImfLock.class) { verify(mInputMethodManagerService).onApplyImeVisibilityFromComputerLocked( targetCaptor.capture(), notNull() /* statsToken */, resultCaptor.capture()); } final IBinder imeInputTarget = targetCaptor.getValue(); final ImeVisibilityResult result = resultCaptor.getValue(); Loading