+11
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
When trusted overlays are set on the SC, the property is inherited so children will also be trusted overlays. This is the expected behavior since there are often child layers created outside system server that should also be trusted overlays when their parent is InputWindow also has a way to set trusted overlays, but that way is only set on the immediate window and not children. Convert all places setting trusted overlay on their InputWindow to instead set on the SurfaceControl. Test: TrustedOverlayTests Bug: 292032926 Bug: 300094445 Change-Id: I5a11ba891fc76343df527747ee3f62d1c8a381a6