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

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

Merge "Add SurfaceFlingerStuffing case to toString()" into sc-dev am: d7f202d2

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

Change-Id: Ib4569d296e36be77b70ae33d0cdb2d1041e6c580
parents ae9dfdd2 d7f202d2
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -136,6 +136,10 @@ std::string jankTypeBitmaskToString(int32_t jankType) {
        janks.emplace_back("Unknown jank");
        jankType &= ~JankType::Unknown;
    }
    if (jankType & JankType::SurfaceFlingerStuffing) {
        janks.emplace_back("SurfaceFlinger Stuffing");
        jankType &= ~JankType::SurfaceFlingerStuffing;
    }

    // jankType should be 0 if all types of jank were checked for.
    LOG_ALWAYS_FATAL_IF(jankType != 0, "Unrecognized jank type value 0x%x", jankType);