summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorFelipe Leme <felipeal@google.com>2018-09-19 11:54:28 -0700
committerFelipe Leme <felipeal@google.com>2018-09-21 13:31:44 -0700
commitd9dc954e8f0cde52d4f332c22c2a1e278f6f8508 (patch)
tree35c52f03b827d541060e1a63dab35a0a95bae86e /tools/aapt2/java/JavaClassGenerator_test.cpp
parent82b66a4fda0098002e364fc64c9dfdacc8aef7a1 (diff)
Fixed FillCallback.onFailure() and SaveCallback.onFailure() behavior.
FillCallback.onFailure() was not working as intented - it finished the session on AutofillManagerService, but didn't update the client state on AutofillManager. And both of these methods were displaying Toasts to the user, which is something the autofill services could take care of. Hence, for services target with SDK Q, the message is ignored. Also added a new Autofill Metric: FIELD_AUTOFILL_MESSAGE_LEN Test: atest CtsAutoFillServiceTestCases:android.autofillservice.cts.LoginActivityTest#testAutofillAgainAfterOnFailure Test: atest CtsAutoFillServiceTestCases # to make sure it didn't break anything Test: time mmm -j frameworks/base/:doc-comment-check-docs Test: m -j update-api Bug: 112192360 Fixes: 116103297 Change-Id: I499909200980943dedf1fc8524dd1f14b49e2158
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions