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

Commit 0416ccb4 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Separate buffer stuffing and jank" into sc-dev am: 72e83e74

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13699896

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I45ba644320213d9dacfc0257efe4c0dd1a1186f9
parents b9d4fc17 72e83e74
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -327,11 +327,8 @@ public class FrameTracker extends SurfaceControl.OnJankDataListener
            }
            if (info.surfaceControlCallbackFired) {
                totalFramesCount++;

                // Only count missed frames if it's not stuffed.
                if ((info.jankType & PREDICTION_ERROR) != 0
                        || ((info.jankType & JANK_APP_DEADLINE_MISSED) != 0
                                && (info.jankType & BUFFER_STUFFING) == 0)) {
                        || ((info.jankType & JANK_APP_DEADLINE_MISSED) != 0)) {
                    Log.w(TAG, "Missed App frame:" + info.jankType);
                    missedAppFramesCount++;
                }