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

Commit 52dcb745 authored by Alec Mouri's avatar Alec Mouri Committed by Android (Google) Code Review
Browse files

Merge "Use the correct frame rate vote for metrics" into main

parents 2a6b3428 7c1d8b5b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4034,7 +4034,7 @@ void Layer::onPostComposition(const DisplayDevice* display,
        const std::optional<Fps> renderRate =
                mFlinger->mScheduler->getFrameRateOverride(getOwnerUid());

        const auto vote = frameRateToSetFrameRateVotePayload(mDrawingState.frameRate);
        const auto vote = frameRateToSetFrameRateVotePayload(getFrameRateForLayerTree());
        const auto gameMode = getGameMode();

        if (presentFence->isValid()) {