Set wearable bridge tag

pull/164/head
M66B 5 years ago
parent acd3493720
commit 1f56e8dbc5

@ -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);
}

Loading…
Cancel
Save