Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 44572c43 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Refactoring of auto fill - lifecycle, auth, improvements - Settings"

parents 773a9a12 3ac757ee
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -17,14 +17,12 @@
package com.android.settings.applications;

import android.annotation.Nullable;
import android.app.ActivityManager;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import android.content.pm.ServiceInfo;
import android.os.Parcelable;
import android.provider.Settings;
import android.service.autofill.AutoFillService;
import android.service.autofill.AutoFillServiceInfo;
@@ -130,11 +128,7 @@ public class DefaultAutoFillPreference extends AppListPreferenceWithSettings {
        for (ResolveInfo resolveInfo : resolveInfos) {
            ServiceInfo serviceInfo = resolveInfo.serviceInfo;
            AutoFillServiceInfo info = new AutoFillServiceInfo(pm, serviceInfo);
            if (info.getParseError() == null) {
            infos.add(info);
            } else {
                Log.i(TAG, "Invalid AutoFillService " + serviceInfo + ": " + info.getParseError());
            }
        }
        return infos;
    }