diff options
| author | 2024-05-24 16:00:17 +0000 | |
|---|---|---|
| committer | 2024-05-24 16:00:17 +0000 | |
| commit | 4c9904cba70847e3a36e6774c344abffecc8d1c3 (patch) | |
| tree | 4e1c16309a99f0bb9634380abb8771a0fcab6940 | |
| parent | 0bf06c231735a2e2cd50e11a9a3356981c26581b (diff) | |
| parent | 01fa2d37fd6f83f3fdf6049d29b691423906938c (diff) | |
Merge "Stop tracking IME user animation requests" into main
| -rw-r--r-- | core/java/android/view/InsetsController.java | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/core/java/android/view/InsetsController.java b/core/java/android/view/InsetsController.java index 1fc98cfa7eb4..a9846fb5751f 100644 --- a/core/java/android/view/InsetsController.java +++ b/core/java/android/view/InsetsController.java @@ -1262,15 +1262,11 @@ public class InsetsController implements WindowInsetsController, InsetsAnimation mHost.getInputMethodManager(), null /* icProto */); } - final var statsToken = (types & ime()) == 0 ? null - : ImeTracker.forLogging().onStart(ImeTracker.TYPE_USER, - ImeTracker.ORIGIN_CLIENT, - SoftInputShowHideReason.CONTROL_WINDOW_INSETS_ANIMATION, - mHost.isHandlingPointerEvent() /* fromUser */); + // TODO(b/342111149): Create statsToken here once ImeTracker#onStart becomes async. controlAnimationUnchecked(types, cancellationSignal, listener, mFrame, fromIme, durationMs, interpolator, animationType, getLayoutInsetsDuringAnimationMode(types, fromPredictiveBack), - false /* useInsetsAnimationThread */, statsToken); + false /* useInsetsAnimationThread */, null); } private void controlAnimationUnchecked(@InsetsType int types, |