Merge "Add intent fields when launching instant app." into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
dce675c158
@@ -262,6 +262,9 @@ public class InstantAppButtonsPreferenceControllerTest {
|
||||
|
||||
verify(mFragment).startActivity(argThat(intent-> intent != null
|
||||
&& intent.getAction().equals(Intent.ACTION_VIEW)
|
||||
&& intent.hasCategory(Intent.CATEGORY_BROWSABLE)
|
||||
&& (intent.getFlags() & Intent.FLAG_ACTIVITY_NEW_TASK) != 0
|
||||
&& TextUtils.equals(intent.getPackage(), TEST_AIA_PACKAGE_NAME)
|
||||
&& TextUtils.equals(intent.getDataString(), launchUri)));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user