Merge "Fix NPE in AutofillManager when feature autofill is disabled" into sc-dev

This commit is contained in:
Joanne Chung
2021-02-23 03:03:11 +00:00
committed by Android (Google) Code Review

View File

@@ -1975,7 +1975,10 @@ public final class AutofillManager {
if (client == null) {
return false;
}
if (mService == null) {
Log.w(TAG, "Autofill service is null!");
return false;
}
if (mServiceClient == null) {
mServiceClient = new AutofillManagerClient(this);
try {