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

Commit c54f721a authored by Pascal Mütschard's avatar Pascal Mütschard Committed by Android (Google) Code Review
Browse files

Merge "Fix issue in IJM where view becomes invalid." into main

parents 45ebc209 764c7a97
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -396,6 +396,9 @@ public class InteractionJankMonitor {
        int cujType = conf.mCujType;
        if (!shouldMonitor()) {
            return false;
        } else if (!conf.hasValidView()) {
            Log.w(TAG, "The view has since become invalid, aborting the CUJ.");
            return false;
        }

        RunningTracker tracker = putTrackerIfNoCurrent(cujType, () ->