Compare commits

..

1 commit

Author SHA1 Message Date
a56c2b6d89
refactor: notification (lpac-jni) 2025-03-10 21:13:45 +08:00

View file

@ -32,7 +32,14 @@ void lpac_notifications_init(JNIEnv *env) {
local_profile_notification_class = (*env)->NewGlobalRef(env, local_profile_notification_class);
local_profile_notification_constructor = (*env)->GetMethodID(
env, local_profile_notification_class, "<init>",
"(JL" PROFILE_MANAGEMENT_OPERATION_CLASS ";Ljava/lang/String;Ljava/lang/String;)V");
"("
"J" // seqNumber
"L" PROFILE_MANAGEMENT_OPERATION_CLASS ";" // profileManagementOperation
"Ljava/lang/String;" // notificationAddress
"Ljava/lang/String;" // iccid
")"
"V" // (returns) void
);
jclass profile_management_operation_class = (*env)->FindClass(
env, PROFILE_MANAGEMENT_OPERATION_CLASS);