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

Skip to content
Commit 2771c9ea authored by Linus Tufvesson's avatar Linus Tufvesson
Browse files

Give ActivityRecordInputSink its own surface

LetterboxSurface uses a z value of -1 and since it is a direct child
of the ActivityRecords SurfaceControl it get placed below the
ActivityRecords surface. This caused AcitivtyRecordInputSink to receive
touches that previously went to the LetterboxSurface. To solve this
ActivityRecordInputSink is assigned its own surface that is set as a
child of the AcitivtyRecord. By using Integer.MIN_VALUE for the Z value
it is ensured that it is behind all Activity related windows and only
consume touches that would otherwise pass through.

Test: Manually verified that that layers are correctly ordered (with
winscope and adb shell dumpsys input)
Bug: 194480991
Bug: 210593865

Change-Id: Ib4122948f19c144c455343e53f29af0e70197c00
parent 6ba962a9
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