summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Manjeet Rulhania <mrulhania@google.com> 2023-02-23 00:03:48 +0000
committer Manjeet Rulhania <mrulhania@google.com> 2023-02-23 00:54:52 +0000
commit74184991b7af9edb2c8068476dc31cd77514fc87 (patch)
treed65ecbcf060017b8fcfa3516f897ef9db2dfef83 /libs/input/PointerController.cpp
parent546d9f8e41c43886145954978860126dbe6451a5 (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). cherry pick from aosp/2384832 Bug: 236669488 Test: manual Merged-In: Iba21245c947cec0d0054f6d86e3585ba73233223 Change-Id: I50f143528d1f5a5b677eb2628efbcd658f4cc1b0 (cherry picked from commit afebeb7b43f318a3ebd856f039d74475df92db9d)
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions