summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Felipe Leme <felipeal@google.com> 2023-04-11 09:24:15 -0700
committer Felipe Leme <felipeal@google.com> 2023-04-25 17:31:57 -0700
commit3aa1f3b52af85a59f1ea186103607405137b6c0f (patch)
tree4486f476d69760206d8b0dd6dbd499c6dd398a01 /libs/input/PointerController.cpp
parentd373da3cba70bfcf3ad743ed84e6acf6d6b30594 (diff)
Properly sets the display id on Autofill UIs.
By default autofill is shown on display 0, but in order to support visible background users, it must show it to the proper display. Previously, it was using the display assigned to the user, which would work in the majority of the cases, while this CL explicitly uses the display associated with the activity (that would support autofilling in a virtual display, like a panoramic display on front passenger seat). Test: atest --user-type secondary_user_on_secondary_display CtsAutoFillServiceTestCases:android.autofillservice.cts.dropdown.LoginActivityTest#testAutoFillOneDatasetAndSave Test: atest CtsAutoFillServiceTestCases # on phone Bug: 271031908 Change-Id: I346110063aa346e0b7b471dd8e0ca37330fff5e7
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions