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

Commit 9ad1fb49 authored by ramindani's avatar ramindani Committed by Rachel Lee
Browse files

[DM] Unify onModeChanged and frameRateOverride callbacks.

In case when we change the mode and frame rate override aligns
with it, we end up sending frame rate override even though it already
aligns with the mode change rate, this causes unnecessary binder
traffic. combining these into one call reduces the binder traffic
and helps with power saving.

Test: atest LocalDisplayAdapterTest
BUG: 399482301
Flag: com.android.graphics.surfaceflinger.flags.unify_refresh_rate_callbacks
Change-Id: Iaa0a417f899b1fb2278693c23ff60cc5478df86d
parent f25e3dfe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment