From 1f56e8dbc5d9216dd05a15fc8e3a8d51fe724f70 Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 21 Oct 2019 18:42:09 +0200 Subject: [PATCH] Set wearable bridge tag --- app/src/main/java/eu/faircode/email/Core.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index 81082ea53b..4afdc31b20 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -3125,7 +3125,8 @@ class Core { // https://developer.android.com/reference/android/app/Notification.WearableExtender mbuilder.extend(new NotificationCompat.WearableExtender() .addActions(wactions) - .setDismissalId(BuildConfig.APPLICATION_ID + ":" + id)); + .setDismissalId(BuildConfig.APPLICATION_ID + ":" + id) + .setBridgeTag(id < 0 ? "header" : "body")); notifications.add(mbuilder); }