Starting CUJ_APP_CLOSE_TO_HOME metric earlier

Now starting it at the very start of the gesture.

Test: Manual
Bug: 174892351
Change-Id: I9c36b4e4ae51302fc1c6b99b825358fb647cd310
This commit is contained in:
vadimt
2021-01-07 14:50:52 -08:00
parent b76e4dbc51
commit 12d8222124
2 changed files with 10 additions and 12 deletions
@@ -136,6 +136,7 @@ public class RecentsAnimationController {
UI_HELPER_EXECUTOR.execute(() -> {
mController.finish(toRecents, sendUserLeaveHint);
InteractionJankMonitorWrapper.end(InteractionJankMonitorWrapper.CUJ_QUICK_SWITCH);
InteractionJankMonitorWrapper.end(InteractionJankMonitorWrapper.CUJ_APP_CLOSE_TO_HOME);
if (callback != null) {
MAIN_EXECUTOR.execute(callback);
}