Merge "Bypass instant app resolution when NON_BROWSER specified" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
af6326c884
@@ -2310,6 +2310,9 @@ public class ComputerEngine implements Computer {
|
|||||||
if ((intent.getFlags() & Intent.FLAG_IGNORE_EPHEMERAL) != 0) {
|
if ((intent.getFlags() & Intent.FLAG_IGNORE_EPHEMERAL) != 0) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if ((intent.getFlags() & Intent.FLAG_ACTIVITY_REQUIRE_NON_BROWSER) != 0) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
if (!skipPackageCheck && intent.getPackage() != null) {
|
if (!skipPackageCheck && intent.getPackage() != null) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user