diff options
| author | 2023-11-02 21:37:50 +0000 | |
|---|---|---|
| committer | 2023-11-07 18:41:26 +0000 | |
| commit | c9650671734fd9ad07687a1e7916586c06541c38 (patch) | |
| tree | be09110e3edc379b351063893bbbf81c3e082919 /libs/androidfw/FileStream.cpp | |
| parent | bc26339bf4695bc6ec8374c680f66c1cf6b09bbf (diff) | |
Check SurfaceControl state while holding the WM lock
- If removeTrustedTaskOverlay() is somehow called twice with the same
overlay, then it may pass the initial SC check before falling into
removing the same overlay from the host
Fixes: 296744713
Test: Verify with game dashboard overlay
Change-Id: I1fdd405c692e9e1d1f2bbee1a687c9ef15ef45e8
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions