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

Commit 6afb5899 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add warning log for when CUJ times out" into main

parents 24c5a269 290bef8f
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -405,7 +405,11 @@ public class InteractionJankMonitor {

        RunningTracker tracker = putTrackerIfNoCurrent(cujType, () ->
                new RunningTracker(
                    conf, createFrameTracker(conf), () -> cancel(cujType, REASON_CANCEL_TIMEOUT)));
                    conf, createFrameTracker(conf), () -> {
                        Log.w(TAG, "CUJ cancelled due to timeout, CUJ="
                                + Cuj.getNameOfCuj(cujType));
                        cancel(cujType, REASON_CANCEL_TIMEOUT);
                    }));
        if (tracker == null) {
            return false;
        }