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

Commit 51882e97 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: I9f375af340420f42c9b8d8576270eb74e0518983
parents 46c39237 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);