summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorPrabir Pradhan <prabirmsp@google.com>2021-06-01 17:41:08 -0700
committerPrabir Pradhan <prabirmsp@google.com>2021-08-04 10:28:16 +0000
commita1da2da8e61b52135059bad22c47525321398279 (patch)
tree7badca466116d55b515e8b586cf34010ef184c9a /tools/aapt2/java/JavaClassGenerator_test.cpp
parent5eb2ccc35bbffe7c283662dce6957cdaa3f4972a (diff)
InputManagerService: Use default display for input injection if not specified
When the MotionEvent's displayId is not specified when injecting input events with pointer sources, use the default Context's display. Key, touchpad, and joystick events don't need any transformations, so do not rotate them. This also fixes the improper re-use of getContextForDisplay() in two different scenarios. Bug: 179274888 Test: atest InputShellCommandTest Change-Id: I8221cadbe334f0d0d3ba215b0f54e8decfed508a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions