2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-29 13:17:43 +00:00

Fixes a typo

This commit is contained in:
Albert Vaca 2015-10-25 11:21:43 +01:00
parent d59750441f
commit 1e152581e6

View File

@ -360,7 +360,7 @@ public class NotificationsPlugin extends Plugin implements NotificationReceiver.
return new String[]{NetworkPackage.PACKAGE_TYPE_NOTIFICATION}; return new String[]{NetworkPackage.PACKAGE_TYPE_NOTIFICATION};
} }
//For compat with API<21, because lollipop changed they way to cancel notifications //For compat with API<21, because lollipop changed the way to cancel notifications
public static void cancelNotificationCompat(NotificationReceiver service, String compatKey) { public static void cancelNotificationCompat(NotificationReceiver service, String compatKey) {
if (Build.VERSION.SDK_INT >= 21) { if (Build.VERSION.SDK_INT >= 21) {
service.cancelNotification(compatKey); service.cancelNotification(compatKey);