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

Skip to content
Commit 98b8468c authored by Chavi Weingarten's avatar Chavi Weingarten
Browse files

Set trusted overlay on SurfaceControl instead of InputWindow

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: I6e0b6a9f023210e7ef1515f534792e5f8a2db4b3
parent 1f5b8523
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