Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit beecffed authored by Nicolo' Mazzucato's avatar Nicolo' Mazzucato
Browse files

Fix CUJ_RECENTS_SCROLLING

The atom was output also when swiping from the bottom to open overview. Now, it's only reported on horizontal swipes between tasks.

Fixes: 265790869
Test: checked perfetto traces
Change-Id: Ic70f440a30ea2c61e44f84098d84b0485a85905e
parent 77a388c7
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -1351,9 +1351,11 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
        if (!mActivity.getDeviceProfile().isTablet) {
            mActionsView.updateDisabledFlags(OverviewActionsView.DISABLED_SCROLLING, true);
        }
        if (mOverviewStateEnabled) { // only when in overview
            InteractionJankMonitorWrapper.begin(/* view= */ this,
                    InteractionJankMonitorWrapper.CUJ_RECENTS_SCROLLING);
        }
    }

    @Override
    protected void onPageEndTransition() {