Skip to content

Commit 2a80310

Browse files
romtsnclaude
andcommitted
fix(test): Use IMPORTANCE_DEFAULT to avoid heads-up dismissal
IMPORTANCE_HIGH shows the notification as a heads-up banner at the top of the screen. When Maestro swipes down to open the notification shade, it instead dismisses the heads-up notification, causing it to disappear entirely. IMPORTANCE_DEFAULT puts the notification directly in the shade without a heads-up, so the swipe opens the shade as intended. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5b867fb commit 2a80310

File tree

1 file changed

+1
-1
lines changed
  • sentry-android-integration-tests/sentry-uitest-android-critical/src/main/java/io/sentry/uitest/android/critical

1 file changed

+1
-1
lines changed

sentry-android-integration-tests/sentry-uitest-android-critical/src/main/java/io/sentry/uitest/android/critical/NotificationHelper.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ object NotificationHelper {
2424
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
2525
notificationManager.deleteNotificationChannel(CHANNEL_ID)
2626
val channel =
27-
NotificationChannel(CHANNEL_ID, "Notifications", NotificationManager.IMPORTANCE_HIGH)
27+
NotificationChannel(CHANNEL_ID, "Notifications", NotificationManager.IMPORTANCE_DEFAULT)
2828
channel.description = "description"
2929
notificationManager.createNotificationChannel(channel)
3030
}

0 commit comments

Comments
 (0)