summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Jorge Gil <jorgegil@google.com> 2024-12-04 01:41:35 +0000
committer Jorge Gil <jorgegil@google.com> 2024-12-05 18:22:17 +0000
commit86495d9b7afaf482c2e4923ebe90eb963b9e7664 (patch)
tree5169ab96f679a40e617d10e71d4f9e3af255064b /libs/androidfw/ApkParsing.cpp
parent513caf7c67309f37f93615ef3c0ed1401a2822fe (diff)
[6/N] WindowDecorViewHost: Warm up SCVHs
Spiritual revert^2 of I08111bfd4728e5223ed078916255313b13a4093f, but broken down into smaller changes. Warms up two WindowDecorViewHosts on shell init by instantiating them and adding a 0x0 view hierarchy and immediately releasing them back into the pool. The warm up size is selected based on the possibility of launching a split-pair after the system starts, which would require two SCVHs simultaneously. Freeform SCVH are expected to be launched one at a time, so there is no need for additional warm up at the moment. Bug: 360452034 Flag: com.android.window.flags.enable_desktop_windowing_scvh_cache_bug_fix Test: check perfetto trace for initial task launch using warmed up SCVHs Change-Id: I2973cf4bb9b649f5a8239ca52984cadb7c5a3a7c
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions