don't create notification channels for devices < sdk 26

This commit is contained in:
Philipp Crocoll
2018-02-20 22:02:33 +01:00
parent cbd6b796ca
commit d8bd8a29bc

View File

@@ -870,6 +870,8 @@ namespace keepass2android
private void CreateNotificationChannels()
{
if ((int)Build.VERSION.SdkInt < 26)
return;
NotificationManager mNotificationManager =
(NotificationManager)GetSystemService(Context.NotificationService);