Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 72b40d8f authored by Winson Chung's avatar Winson Chung
Browse files

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: default avatarWinson Chung <winsonc@google.com>
parent 684e0da6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment