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

Skip to content
Commit d810a617 authored by Shane's avatar Shane Committed by Jian-Syuan (Shane) Wong
Browse files

[dVRR] Call updateInfrequentCount after setCategoryFromCategoryCounts

In some use cases, the intermittent update state could be updated right after Views vote that causes inconsistency between the voted category and the category that is sent to SurfaceFlinger.

This Cl moves updateInfrequentCount after setCategoryFromCategoryCounts to avoid that. Although we need one more frame to change the intermittent update state, we can now ensure the consistency.

Fixes: 338173334
Test: atest ViewRootImplTest / atest ViewFrameRateTest`
Change-Id: I8eb775a45eb7bc5d3cb4a0f759525228296203dd
parent e11d5f30
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment