Skip to content

Commit 9ab97c3

Browse files
author
Roman Mazur
committed
Add FLAG_INCLUDE_STOPPED_PACKAGES
1 parent 20fcf92 commit 9ab97c3

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

assertj-android/src/main/java/org/assertj/android/api/content/IntentAssert.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
import static android.content.Intent.FLAG_GRANT_WRITE_URI_PERMISSION;
3131
import static android.content.Intent.FLAG_RECEIVER_NO_ABORT;
3232
import static android.content.Intent.FLAG_RECEIVER_REGISTERED_ONLY;
33+
import static android.content.Intent.FLAG_INCLUDE_STOPPED_PACKAGES;
3334
import static org.assertj.android.internal.IntegerUtils.buildBitMaskString;
3435
import static org.assertj.core.api.Assertions.assertThat;
3536

@@ -131,6 +132,7 @@ public static String flagsToString(@IntentFlags int flags) {
131132
.flag(FLAG_ACTIVITY_REORDER_TO_FRONT, "activity_reorder_to_front")
132133
.flag(FLAG_ACTIVITY_SINGLE_TOP, "activity_single_top")
133134
.flag(FLAG_ACTIVITY_TASK_ON_HOME, "activity_task_on_home")
135+
.flag(FLAG_INCLUDE_STOPPED_PACKAGES, "include_stopped_packages")
134136
.get();
135137
}
136138
}

assertj-android/src/main/java/org/assertj/android/api/content/IntentFlags.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED,
3131
Intent.FLAG_ACTIVITY_REORDER_TO_FRONT,
3232
Intent.FLAG_ACTIVITY_SINGLE_TOP,
33-
Intent.FLAG_ACTIVITY_TASK_ON_HOME
33+
Intent.FLAG_ACTIVITY_TASK_ON_HOME,
34+
Intent.FLAG_INCLUDE_STOPPED_PACKAGES
3435
}
3536
)
3637
@Retention(SOURCE)

0 commit comments

Comments
 (0)