NotificationManager: implement cancel() for MPRIS notifications

This commit is contained in:
Julian Winkler
2024-07-20 14:13:12 +02:00
parent 9d27fc138b
commit 4ecd541c6c
3 changed files with 35 additions and 4 deletions

View File

@@ -47,6 +47,14 @@ JNIEXPORT void JNICALL Java_android_app_NotificationManager_nativeShowMPRIS
JNIEXPORT void JNICALL Java_android_app_NotificationManager_nativeCancel
(JNIEnv *, jobject, jint);
/*
* Class: android_app_NotificationManager
* Method: nativeCancelMPRIS
* Signature: ()V
*/
JNIEXPORT void JNICALL Java_android_app_NotificationManager_nativeCancelMPRIS
(JNIEnv *, jobject);
#ifdef __cplusplus
}
#endif