summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Winson Chung <winsonc@google.com> 2024-01-29 22:05:33 +0000
committer Winson Chung <winsonc@google.com> 2024-01-29 22:06:31 +0000
commit72b40d8fdf30bf16b0949871b7194d98cbd4cbee (patch)
treee32a419368db94a7801f0e6eab404f342401977b /libs/androidfw/FileStream.cpp
parent684e0da6246202e2943af1f39ee6ab0fb8710f94 (diff)
Prevent adding duplicate overlays
- Hypothetical fix: check for duplicate overlay before adding it to the overlay list, otherwise we may attempt to release the same overlay twice when cleaning up the overlay later. We keep the rest of the setup just to keep it consistent with adding a new overlay though. - Hold the wm lock when checking the overlay surface package state as in ag/25193528 to ensure it's also valid for the duration of the WM code running Bug: 314880864 Test: atest TrustedOverlayTests Change-Id: Ib7cad1a2265ba82dd1d98b8358380874f9f8719d Signed-off-by: Winson Chung <winsonc@google.com>
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions