summaryrefslogtreecommitdiff
path: root/ravenwood/scripts/extract-last-soong-commands.py
diff options
context:
space:
mode:
author Daichi Hirono <hirono@google.com> 2025-03-12 09:33:21 +0900
committer Daichi Hirono <hirono@google.com> 2025-03-12 12:09:33 +0900
commitef3f9c55ccf5c4be643650a2126df89172510bc4 (patch)
treee2179d40a3307ffa2d13ffa5aa485498878eeb36 /ravenwood/scripts/extract-last-soong-commands.py
parentc76ef2ceac32b3cf7436d72670953a186fc9debf (diff)
Prevent surface use after release in DragResizeInputListener
DragResizeInputListener initialized input channels on a background thread. The decor surface used for initialization could be released on the main thread before the background initialization completed, leading to a use-after-release. This change addresses the issue by having DragResizeInputListener create and own a new SurfaceControl referencing the same underlying surface as the decor surface. DragResizeInputListener is then responsible for releasing this new SurfaceControl after background initialization, ensuring safe cleanup. Bug: 401470167 Test: DragResizeInputListenerTest Flag: com.android.window.flags.enable_drag_resize_set_up_in_bg_thread Change-Id: I37ba7d97d51079ba07148a425826a0cd9b59c3fd
Diffstat (limited to 'ravenwood/scripts/extract-last-soong-commands.py')
0 files changed, 0 insertions, 0 deletions