Suppress "Entry is available" notifications on wearable devices
Fixes #2185
This commit is contained in:
@@ -140,6 +140,9 @@ namespace keepass2android
|
||||
_ctx.GetString(Resource.String.menu_copy_totp),
|
||||
GetPendingIntent(Intents.CopyTotp, Resource.String.menu_copy_totp)));
|
||||
|
||||
// Don't show on wearable devices
|
||||
notificationBuilder.SetLocalOnly(true);
|
||||
|
||||
notificationBuilder.SetPriority((int)Android.App.NotificationPriority.Max);
|
||||
var notification = notificationBuilder.Build();
|
||||
notification.DeleteIntent = CreateDeleteIntent(NotifyCombined);
|
||||
|
Reference in New Issue
Block a user