Skip to content

Commit

Permalink
Merge pull request #5797 from yachtcaptain23/bugfix/wearable_notifica…
Browse files Browse the repository at this point in the history
…tion

Disable wearable notifications. Ads won't look right on such a small …
  • Loading branch information
yachtcaptain23 authored Jun 10, 2020
2 parents 97b741d + ff9b12e commit 1b3dbcf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ public ChromeNotification build(NotificationMetadata metadata) {
builder.setOnlyAlertOnce(!mRenotify);
builder.setContent(compactView);
builder.setAutoCancel(true);
builder.setLocalOnly(true); // Disables showing on other devices, e.g. Android Wear

// Some things are duplicated in the builder to ensure the notification shows correctly on
// Wear devices and custom lock screens.
Expand Down

0 comments on commit 1b3dbcf

Please sign in to comment.