diff options
| author | 2020-11-26 15:47:36 +0200 | |
|---|---|---|
| committer | 2021-02-22 14:51:08 +0000 | |
| commit | 3218ac886406719214a3f6a4a9656731011171c6 (patch) | |
| tree | 7d0270ff8efc0da89ccb3f83ff12e41892119510 /libs/androidfw/AttributeResolution.cpp | |
| parent | b333f43dec36382fbfe242f02d269f35810a683e (diff) | |
Fix NPE in AutofillManager when feature autofill is disabled
When feature_autofill is not present on device IAutoFillManager service could be null.
It is proposed to check service for null before trying to add client to prevent NPE.
Bug: 174444980
Test: cts-tradefed run cts-dev -m CtsWidgetTestCases \
-t android.widget.cts.DatePickerTest#testPartsVisibilityInSpinnerMode
Signed-off-by: Artem Radchenko <artem.radchenko@globallogic.com>
Change-Id: Id6bad7e652452343ed674e4a7452a1b8231f72c5
Merged-In: I10ce988603f47117d0efddcc014ec51b72d3b3b4
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions