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

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

Merge "Don't require BROWSABLE" into oc-dev

parents e7fb3c9f 303c7869
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -637,7 +637,6 @@ class ActivityStarter {
        if (componentSpecified
                && intent.getData() != null
                && Intent.ACTION_VIEW.equals(intent.getAction())
                && intent.hasCategory(Intent.CATEGORY_BROWSABLE)
                && mService.getPackageManagerInternalLocked()
                        .isInstantAppInstallerComponent(intent.getComponent())) {
            // intercept intents targeted directly to the ephemeral installer the
+0 −1
Original line number Diff line number Diff line
@@ -4218,7 +4218,6 @@ public class PackageManagerService extends IPackageManager.Stub
            final boolean allowMatchInstant =
                    (includeInstantApps
                            && Intent.ACTION_VIEW.equals(intent.getAction())
                            && intent.hasCategory(Intent.CATEGORY_BROWSABLE)
                            && hasWebURI(intent))
                    || isSpecialProcess
                    || mContext.checkCallingOrSelfPermission(