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

Commit cbf4c7ac authored by Hai Zhang's avatar Hai Zhang Committed by android-build-merger
Browse files

Fix filtering for browser apps.

am: e237eb89

Change-Id: Ib1d98a40589b71cb46a42e10f0c9cdb4504a739d
parents 7bb22d54 e237eb89
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -105,9 +105,7 @@ public class BrowserRoleBehavior implements RoleBehavior {
        for (int i = 0; i < resolveInfosSize; i++) {
            ResolveInfo resolveInfo = resolveInfos.get(i);

            if (!resolveInfo.handleAllWebDataURI || !resolveInfo.activityInfo.enabled
                    || !resolveInfo.activityInfo.applicationInfo.enabled
                    || resolveInfo.activityInfo.applicationInfo.isInstantApp()) {
            if (!resolveInfo.handleAllWebDataURI) {
                continue;
            }
            packageNames.add(resolveInfo.activityInfo.packageName);