diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index 7f4e316a12..ee4eb113c1 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -4564,12 +4564,15 @@ class Core { } // https://developer.android.com/training/wearables/notifications - // https://developer.android.com/reference/android/app/Notification.WearableExtender + // https://developer.android.com/reference/androidx/core/app/NotificationCompat.Action.WearableExtender mbuilder.extend(new NotificationCompat.WearableExtender() .addActions(wactions) .setDismissalId(BuildConfig.APPLICATION_ID + ":" + id) /* .setBridgeTag(id < 0 ? "header" : "body") */); + // https://developer.android.com/reference/androidx/car/app/notification/CarAppExtender + mbuilder.extend(new NotificationCompat.CarExtender()); + notifications.add(mbuilder); }