Fix a missing null-check in AbsSwipeUpHandler

Flag: EXEMPT bug fix
Fixes: 423027896
Test: ran launcher
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c633e26434aeb9d1a4c4630d6db1d4ab477a1a1d)
Merged-In: I44ae9215a83f169c1fa052d322ba5346312536b3
Change-Id: I44ae9215a83f169c1fa052d322ba5346312536b3
This commit is contained in:
Schneider Victor-Tulias
2025-06-11 16:03:21 -04:00
committed by Android Build Coastguard Worker
parent 19666ccb53
commit 202bb8e797

View File

@@ -1073,12 +1073,10 @@ public abstract class AbsSwipeUpHandler<
}
mHandled = true;
InteractionJankMonitorWrapper.begin(mRecentsView, Cuj.CUJ_LAUNCHER_QUICK_SWITCH,
2000 /* ms timeout */);
InteractionJankMonitorWrapper.begin(mRecentsView,
Cuj.CUJ_LAUNCHER_APP_CLOSE_TO_HOME);
InteractionJankMonitorWrapper.begin(mRecentsView,
Cuj.CUJ_LAUNCHER_APP_SWIPE_TO_RECENTS);
InteractionJankMonitorWrapper.begin(
rv, Cuj.CUJ_LAUNCHER_QUICK_SWITCH, /* timeoutMs= */ 2000);
InteractionJankMonitorWrapper.begin(rv, Cuj.CUJ_LAUNCHER_APP_CLOSE_TO_HOME);
InteractionJankMonitorWrapper.begin(rv, Cuj.CUJ_LAUNCHER_APP_SWIPE_TO_RECENTS);
rv.post(() -> rv.getViewTreeObserver().removeOnDrawListener(this));
}