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

Commit b58f74f5 authored by Su Hong Koo's avatar Su Hong Koo
Browse files

SF: Break down onActiveDisplaySizeChanged()

Remove SF::onActiveDisplaySizeChanged(), and replace it with
independent calls to Scheduler::onPacesetterDisplayAreaChanged() and
RenderEngine::onActiveDisplayAreaChanged().

The main difference in this CL is that the Scheduler is fed the display
area of the pacesetter instead of the "active" display, and that the
render engine is given the area of the largest configured display for
the cache instead of the active display.

Flag: com.android.graphics.surfaceflinger.flags.pacesetter_selection
Bug: 255635821
Test: dumpsys SurfaceFlinger | grep displayArea w/ foldable
Change-Id: I724066f39289e21e395d637720bc8994f070e1bf
parent 99e76ce9
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