commit | 6cd19a422afe967eb20c5c3eee2b36a29f52c495 | [log] [tgz] |
---|---|---|
author | Arthur Hung <arthurhung@google.com> | Fri Aug 30 19:04:12 2019 +0800 |
committer | Arthur Hung <arthurhung@google.com> | Mon Sep 23 10:37:35 2019 +0800 |
tree | 646fb4d9db97bd6791bcf683f3180e60cf52a014 | |
parent | d071a9dcee8873b75580bda7bd83043b967e26a3 [diff] |
Make sure that touches are within the surface. Changed TouchInputMapper::isPointInsideSurface should check the surface range instead of physical frame range. Test: atest inputflinger_tests Test: enable emulator, open second display with landscape mode, try YouTube and changed it to portrait mode. Bug: 139805619 Change-Id: Id4ad7053acac33f49363442bd5f710f8023d5190