Merge "Fix NPE in AutofillManager when feature autofill is disabled"

This commit is contained in:
Treehugger Robot
2021-02-22 17:37:55 +00:00
committed by Gerrit Code Review

View File

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