summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Daniel Peykov <peykov@google.com> 2022-10-25 21:32:46 +0000
committer Daniel Peykov <peykov@google.com> 2022-11-02 20:58:48 +0000
commitafebeb7b43f318a3ebd856f039d74475df92db9d (patch)
treecfcf89897c02eebf567fd24fee1590925f5da0d2 /libs/input/PointerController.cpp
parent3b60cd3b944c383131f078cbba19666a9eebd855 (diff)
Rely on Display#getRealSize when dumping XML hierarchy
* Previously, the height returned by Display#getSize was used to determine visible objects. Based on the API level and the presence of system decorations (e.g. notches), this can cause objects near the bottom of the screen to be considered out of bounds (i.e. only objects within y=0 and y=partial_height are considered even if the omitted decorations are at the top of the screen). Bug: 193270758 Bug: 188156320 Bug: 27537269 Test: manual Change-Id: Iba21245c947cec0d0054f6d86e3585ba73233223
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions