diff options
author | 2025-03-19 19:06:34 +0000 | |
---|---|---|
committer | 2025-03-19 19:06:34 +0000 | |
commit | 33f0ce08a5408ef1bafd0067ffc334ab28d2d2d4 (patch) | |
tree | 14d350709b913f97d163b6df40f09ec96a5418c9 /libs/androidfw/AssetManager2.cpp | |
parent | c90913596461a4d1f463c03540b169280e5aae88 (diff) |
Do not remove decoration surface on DragResizeInputListener#close
I37ba7d97d51079ba07148a425826a0cd9b59c3fd made a change to create a copy
of the decoration container surface to allow DRIL to manage its release
in the correct thread. However, it started using SC.T#remove() to
release the surface, which is fine in most cases because closing the
DRIL usually happens when the decoration is also closing. In
desktop-immersive cases though, where we make a desktop task use
fullscreen bounds, we want to dispose of the DRIL because it is no
longer drag-resizable, but we want to keep the decoration surface
because we still show an App Header.
With this change, the copied decoration surface is only release in
close(), and removal continues to be managed by WindowDecoration.
Flag: com.android.window.flags.enable_drag_resize_set_up_in_bg_thread
Fix: 404581880
Test: put immersive-capable app into desktop-immersive, drag down from
status bar - verify App Header becomes visible
Change-Id: I029c56189fc8656789cf0ece2437d8cc16475208
Diffstat (limited to 'libs/androidfw/AssetManager2.cpp')
0 files changed, 0 insertions, 0 deletions