Merge "Bypass instant app resolution when NON_BROWSER specified" into udc-dev

This commit is contained in:
Patrick Baumann
2023-05-12 15:54:55 +00:00
committed by Android (Google) Code Review

View File

@@ -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;
} }