diff options
| author | 2023-10-16 22:00:11 +0000 | |
|---|---|---|
| committer | 2023-10-19 19:18:31 +0000 | |
| commit | cef0bca744357fa0449c446f7aba35e3075a7274 (patch) | |
| tree | 5e0dd9fa6cd653804e82db8535c56cbe50c7dde4 /libs/androidfw/FileStream.cpp | |
| parent | 2a0f9e1103520cd4df2316e5fc8164ef8d671e9e (diff) | |
Optimize HWUI ADPF for sysui and ensure correct closure
This patch prevents the HintSessionWrapper from setting the
timestamp on load_up hints, to avoid edge cases in systemui
where load_up hints were being sent before reset had a chance
to be checked, making ADPF think work was still ongoing.
This patch also ensures the session closes when a
CanvasContext is destructed, as previously it would wait until
the delayed destroy was evaluated before closing the session.
Bug: 302620048
Test: hwuiunit
Change-Id: I15172382665934acc28c80ff06937475481ba62b
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions