diff options
author | Evan Laird <evanlaird@google.com> | 2024-03-28 20:48:11 +0530 |
---|---|---|
committer | Vikas Batchu <quic_vikabatc@quicinc.com> | 2024-04-03 13:49:34 +0000 |
commit | 4995bb0e43d82cae6d8bf39c0b46e6c89df4bcd1 (patch) | |
tree | 1558c1c9de2b761e0cdd820da39693c895bef854 /keystore/java/android/security/AndroidKeyStoreMaintenance.java | |
parent | defd700a3a47d07595f9eb0aeb6cb434e84f5f46 (diff) |
change the initialization order for adding overlays
ScreenDecorations adds "overlay" views to the window hierarchy, which
house the appropriate decorations for various pieces of SystemUI. This
change simply swaps the order in which we initalize those overlays such
that the HWC overlay (special hardware-accelerated layers), if
available, are always added last and are thus at the highest z-index.
The reasoning for this is that some display pipelines are optimized to
only process a HWC layer if it is on top.
Note that this change means that any UI hosted in a software layer can
potentially be covered by the HWC layer which is now on-top. This
shouldn't be an issue in practice.
Test: on device with HWC support, launch camera app and verify from
SurfaceFlinger dumpsys that the HWC layers have the highest z-index
Bug: 313038036
Flag: NONE
Change-Id: I2e88774db0a40918c7f0be580ff66fe7a2093798
CRs-Fixed: 3657031
Diffstat (limited to 'keystore/java/android/security/AndroidKeyStoreMaintenance.java')
0 files changed, 0 insertions, 0 deletions