diff options
| author | 2025-02-22 00:26:54 -0800 | |
|---|---|---|
| committer | 2025-03-04 00:47:52 -0800 | |
| commit | b989023ee03189eeca140dfb22180981ccb82897 (patch) | |
| tree | b4094c1dd078bdac281a1ab5efe57b5a3fa6441d /libs/androidfw/FileStream.cpp | |
| parent | b3b8270526fe150118aceb2944e8afb37b135f4c (diff) | |
Pass never-blank state from VirtualDisplayAdapter to SurfaceFlinger.
The never-blank concept is translated in VirtualDisplayAdapter to be a power-optimised display (instead of a performance optimised display) in the downstream components. This concept indicates that these displays (created via DisplayManager instead of through a virtual device) depend on another display's presence and activeness to be continually rendered and shown. The display they depend on instead optimises for performance when it is on, meaning that all the related displays have good performance.
For cases where dependent display/power optimisation information is not available (calls to DisplayControl#createVirtualDisplay(String, boolean) and SurfaceComposerClient::createVirtualDisplay), the dependent display/power optimisation state is defaulted to true since these are system calls and this preserves the previous behaviour.
Bug: 342681202
Flag: EXEMPT refactor
Test: Flashed build on test device, ran Android Auto Projected
Change-Id: I21d916635c161c3309928edc541e4ee0f3921b25
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions