summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Dennis Kiilerich <dki@google.com> 2025-02-22 00:26:54 -0800
committer Dennis Kiilerich <dki@google.com> 2025-03-04 00:47:52 -0800
commitb989023ee03189eeca140dfb22180981ccb82897 (patch)
treeb4094c1dd078bdac281a1ab5efe57b5a3fa6441d /libs/androidfw/FileStream.cpp
parentb3b8270526fe150118aceb2944e8afb37b135f4c (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