diff --git a/assertj-android/src/main/java/org/assertj/android/api/content/IntentAssert.java b/assertj-android/src/main/java/org/assertj/android/api/content/IntentAssert.java index f6aa1c1..e394cd6 100644 --- a/assertj-android/src/main/java/org/assertj/android/api/content/IntentAssert.java +++ b/assertj-android/src/main/java/org/assertj/android/api/content/IntentAssert.java @@ -30,6 +30,7 @@ import static android.content.Intent.FLAG_GRANT_WRITE_URI_PERMISSION; import static android.content.Intent.FLAG_RECEIVER_NO_ABORT; import static android.content.Intent.FLAG_RECEIVER_REGISTERED_ONLY; +import static android.content.Intent.FLAG_INCLUDE_STOPPED_PACKAGES; import static org.assertj.android.internal.IntegerUtils.buildBitMaskString; import static org.assertj.core.api.Assertions.assertThat; @@ -131,6 +132,7 @@ public static String flagsToString(@IntentFlags int flags) { .flag(FLAG_ACTIVITY_REORDER_TO_FRONT, "activity_reorder_to_front") .flag(FLAG_ACTIVITY_SINGLE_TOP, "activity_single_top") .flag(FLAG_ACTIVITY_TASK_ON_HOME, "activity_task_on_home") + .flag(FLAG_INCLUDE_STOPPED_PACKAGES, "include_stopped_packages") .get(); } } diff --git a/assertj-android/src/main/java/org/assertj/android/api/content/IntentFlags.java b/assertj-android/src/main/java/org/assertj/android/api/content/IntentFlags.java index 9b1b95b..86cfa96 100644 --- a/assertj-android/src/main/java/org/assertj/android/api/content/IntentFlags.java +++ b/assertj-android/src/main/java/org/assertj/android/api/content/IntentFlags.java @@ -30,7 +30,8 @@ Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED, Intent.FLAG_ACTIVITY_REORDER_TO_FRONT, Intent.FLAG_ACTIVITY_SINGLE_TOP, - Intent.FLAG_ACTIVITY_TASK_ON_HOME + Intent.FLAG_ACTIVITY_TASK_ON_HOME, + Intent.FLAG_INCLUDE_STOPPED_PACKAGES } ) @Retention(SOURCE)