From b48e8eeb0e02884daa9190df551c3945636d11df Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 21 Nov 2017 17:52:23 -0500 Subject: [PATCH] set notification channel to low priority --- src/Android/AutofillService.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Android/AutofillService.cs b/src/Android/AutofillService.cs index 5d788060c..876bdbd0c 100644 --- a/src/Android/AutofillService.cs +++ b/src/Android/AutofillService.cs @@ -347,12 +347,12 @@ namespace Bit.Android var pendingIntent = PendingIntent.GetActivity(this, 0, intent, PendingIntentFlags.UpdateCurrent); var notificationContent = Build.VERSION.SdkInt > BuildVersionCodes.KitkatWatch ? - App.Resources.AppResources.BitwardenAutofillServiceNotificationContent : - App.Resources.AppResources.BitwardenAutofillServiceNotificationContentOld; + AppResources.BitwardenAutofillServiceNotificationContent : + AppResources.BitwardenAutofillServiceNotificationContentOld; var builder = new Notification.Builder(this); builder.SetSmallIcon(Resource.Drawable.notification_sm) - .SetContentTitle(App.Resources.AppResources.BitwardenAutofillService) + .SetContentTitle(AppResources.BitwardenAutofillService) .SetContentText(notificationContent) .SetTicker(notificationContent) .SetWhen(now) @@ -370,7 +370,7 @@ namespace Bit.Android if(_notificationChannel == null) { _notificationChannel = new NotificationChannel("bitwarden_autofill_service", - AppResources.BitwardenAutofillService, NotificationImportance.Default); + AppResources.AutofillService, NotificationImportance.Low); notificationManager.CreateNotificationChannel(_notificationChannel); } builder.SetChannelId(_notificationChannel.Id);