Merge "Don't require BROWSABLE" into oc-dev am: 59b9a851a7
am: 857bbed067
Change-Id: I81979ec46465c22aca3a6736dd4e1e6a4b5c8c2b
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -4220,7 +4220,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(
|
||||
|
||||
Reference in New Issue
Block a user