Merge "Don't require BROWSABLE" into oc-dev
am: 59b9a851a7
Change-Id: I4bcbcddd76b9fa4e85a0edf223a98b8c18dd791c
This commit is contained in:
@@ -637,7 +637,6 @@ class ActivityStarter {
|
|||||||
if (componentSpecified
|
if (componentSpecified
|
||||||
&& intent.getData() != null
|
&& intent.getData() != null
|
||||||
&& Intent.ACTION_VIEW.equals(intent.getAction())
|
&& Intent.ACTION_VIEW.equals(intent.getAction())
|
||||||
&& intent.hasCategory(Intent.CATEGORY_BROWSABLE)
|
|
||||||
&& mService.getPackageManagerInternalLocked()
|
&& mService.getPackageManagerInternalLocked()
|
||||||
.isInstantAppInstallerComponent(intent.getComponent())) {
|
.isInstantAppInstallerComponent(intent.getComponent())) {
|
||||||
// intercept intents targeted directly to the ephemeral installer the
|
// intercept intents targeted directly to the ephemeral installer the
|
||||||
|
|||||||
@@ -4219,7 +4219,6 @@ public class PackageManagerService extends IPackageManager.Stub
|
|||||||
final boolean allowMatchInstant =
|
final boolean allowMatchInstant =
|
||||||
(includeInstantApps
|
(includeInstantApps
|
||||||
&& Intent.ACTION_VIEW.equals(intent.getAction())
|
&& Intent.ACTION_VIEW.equals(intent.getAction())
|
||||||
&& intent.hasCategory(Intent.CATEGORY_BROWSABLE)
|
|
||||||
&& hasWebURI(intent))
|
&& hasWebURI(intent))
|
||||||
|| isSpecialProcess
|
|| isSpecialProcess
|
||||||
|| mContext.checkCallingOrSelfPermission(
|
|| mContext.checkCallingOrSelfPermission(
|
||||||
|
|||||||
Reference in New Issue
Block a user