summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/InputMethodService.java
diff options
context:
space:
mode:
authorLinus Tufvesson <lus@google.com>2021-12-15 13:32:19 +0000
committerLinus Tufvesson <lus@google.com>2022-01-04 16:15:45 +0000
commit2771c9eac5717ba1984cb9dadf1cc3efe3f679a4 (patch)
treedc8eaa7cf3556f3054ed1cc9a12cb67e08b1f158 /core/java/android/inputmethodservice/InputMethodService.java
parent6ba962a93fbdc6a277b273b116fb58b5635a1d2b (diff)
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
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions