summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJoanne Chung <joannechung@google.com>2020-05-05 19:59:30 +0800
committerJoanne Chung <joannechung@google.com>2020-05-08 16:48:52 +0800
commitee55616ad3b33fd57e3accb889f9c132ca11abef (patch)
treef69d55f7309aaa7fe758764d98c97a566ae483a0 /tools/aapt2/java/JavaClassGenerator.cpp
parent01702af7a3a9fba5e8c391ebb254f6f6d6e007ce (diff)
Prevent crash when AutofillManager.isEnabled() is called
If we cannot get flag information from the AutofillManagerService after the timeout, we should not crash the process, we need to handle the enabled information properly. Also fix NPE because of null component name while calling AutofillManagerServiceImpl.isWhitelistedForAugmentedAutofillLocked(). Bug: 151273845 Test: atest CtsAutoFillServiceTestCases Test: manual. Copy the text from Messenger and paste on search bar, no crash occurred and can paste text correctly. Change-Id: I8d7ca35226052944fd68fef60a013a65a7fb57c1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions