mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-09-02 23:25:10 +00:00
Fixed incorrect packet type
This commit is contained in:
@@ -135,7 +135,7 @@ public class NotificationsPlugin extends Plugin implements NotificationReceiver.
|
|||||||
@Override
|
@Override
|
||||||
public void onNotificationRemoved(StatusBarNotification statusBarNotification) {
|
public void onNotificationRemoved(StatusBarNotification statusBarNotification) {
|
||||||
String id = getNotificationKeyCompat(statusBarNotification);
|
String id = getNotificationKeyCompat(statusBarNotification);
|
||||||
NetworkPackage np = new NetworkPackage(PACKAGE_TYPE_NOTIFICATION_REQUEST);
|
NetworkPackage np = new NetworkPackage(PACKAGE_TYPE_NOTIFICATION);
|
||||||
np.set("id", id);
|
np.set("id", id);
|
||||||
np.set("isCancel", true);
|
np.set("isCancel", true);
|
||||||
device.sendPackage(np);
|
device.sendPackage(np);
|
||||||
|
Reference in New Issue
Block a user