diff options
author | Riddle Hsu <riddlehsu@google.com> | 2019-02-23 01:19:50 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2019-03-12 16:38:27 +0800 |
commit | 69de5fbb71c22ee5bcc7773c1da33452b5843edc (patch) | |
tree | 9543276e0ed1dc170b07de8b346c086841116851 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 1cc1db0ab2b6277fc6decf2ece0e1b2ff484bf71 (diff) |
Use inner frame of letterbox as touchable region for letterboxed app
Since commit 192fe76a, the letterbox is touchable. In order for the
touch event to be able to slip into the activity, the touchable region
of activity must not cover the letterbox.
Also toggle the token of window handle with surface show/hide to reduce
the inactive window records in InputDispatcher.
Bug: 110257889
Test: manual - Enable display cutout, open DocumentUI in landscape and
drag from the black region in the cutout side to DocumentUI, the
list view should scroll or the drawer slides out.
Change-Id: I4a0bffebfe7a3efcac842c0abbae60ea2a3487bd
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions