summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDake Gu <dake@google.com>2018-02-26 12:25:14 -0800
committerDake Gu <dake@google.com>2018-02-28 16:10:07 -0800
commitb0fa378f9d390d27ab2a2f83eb6fa16f2b5cbb97 (patch)
tree43413817e97fb7f86dfdc4bc6b3515e0cb2a84ed /tools/aapt2/java/JavaClassGenerator_test.cpp
parentbf6edacac900e4f889dde292474e0e3fecb8d689 (diff)
autofill: touch on IME should not close autofill
ag/3434666 causes a regression: Before ag/3434666, autofill gets touch event after IME, autofill close itself if it gets ACTION_OUTSIDE touch event. But after ag/3434666, autofill intercepts touch events before IME, if user touches within IME, autofill still gets ACTION_OUTSIDE event, and close itself unexpectedly. The fix moves the closing code to ViewRootImpl.EarlyPostImeStage around the same place closing tooltip. If user taps outside autofill window, we will force to close window, even last autofillid that requestShowUi does not match. Bug: 73796497 Test: atest CtsAutoFillServiceTestCases Test: Added LoginActivityTest.testAutofillTapOutside Test: manually tested using IME and sample app TODO: need a fake IME service to dispatch given key upon touch. Change-Id: I10fc0d29dc30d29a48b2118264ec1c4375062deb
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions