Skip to content

Commit 5146f0a

Browse files
romtsnclaude
andcommitted
fix(test): Use IMPORTANCE_HIGH for test notifications
IMPORTANCE_DEFAULT notifications may be silently delivered on some emulators, causing the notification to not appear in the shade when Maestro swipes down to find it. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 2a3bbbe commit 5146f0a

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
@@ -21,7 +21,7 @@ object NotificationHelper {
2121
// Create notification channel for Android 8.0+ (API 26+)
2222
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
2323
val channel =
24-
NotificationChannel(CHANNEL_ID, "Notifications", NotificationManager.IMPORTANCE_DEFAULT)
24+
NotificationChannel(CHANNEL_ID, "Notifications", NotificationManager.IMPORTANCE_HIGH)
2525
channel.description = "description"
2626
notificationManager.createNotificationChannel(channel)
2727
}

0 commit comments

Comments
 (0)