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

Commit 897f69fd authored by Marin Shalamanov's avatar Marin Shalamanov Committed by Automerger Merge Worker
Browse files

Merge "Add comment for min refresh rate vote" into sc-dev am: aa9d25b7

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

Change-Id: Iccc236b2498df969ec586a3129504748fb612aa9
parents e633dbb3 aa9d25b7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -235,6 +235,8 @@ LayerInfo::LayerVote LayerInfo::getRefreshRateVote(nsecs_t now) {
    if (!isFrequent(now)) {
        ALOGV("%s is infrequent", mName.c_str());
        mLastRefreshRate.animatingOrInfrequent = true;
        // Infrequent layers vote for mininal refresh rate for
        // battery saving purposes and also to prevent b/135718869.
        return {LayerHistory::LayerVoteType::Min, Fps(0.0f)};
    }