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

Commit ee7fe619 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 5719381 from 42b3beb5 to qt-qpr1-release

Change-Id: Ibe78454842fb20e5f0ce70d2d655c2808f8e11bf
parents e8c8be54 42b3beb5
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -4707,6 +4707,16 @@ void SurfaceFlinger::dumpVSync(std::string& result) const {
    StringAppendF(&result, "Scheduler enabled.");
    StringAppendF(&result, "+  Smart 90 for video detection: %s\n\n",
                  mUseSmart90ForVideo ? "on" : "off");
    StringAppendF(&result, "Allowed Display Configs: ");
    for (int32_t configId : mAllowedDisplayConfigs) {
        for (auto refresh : mRefreshRateConfigs.getRefreshRates()) {
            if (refresh.second && refresh.second->configId == configId) {
                StringAppendF(&result, "%dHz, ", refresh.second->fps);
            }
        }
    }
    StringAppendF(&result, "(config override by backdoor: %s)\n\n",
                  mDebugDisplayConfigSetByBackdoor ? "yes" : "no");
    mScheduler->dump(mAppConnectionHandle, result);
}