Index: jni/JniNotification.cpp |
diff --git a/jni/JniNotification.cpp b/jni/JniNotification.cpp |
index 7a9263e3c67c1e63f9957b4da40cf078c64cd6dd..a37d1834fbb6cce5b1ea4b5bc96fccff70c459d9 100644 |
--- a/jni/JniNotification.cpp |
+++ b/jni/JniNotification.cpp |
@@ -67,7 +67,7 @@ static jstring JniGetTitle(JNIEnv* env, jclass clazz, jlong ptr) |
{ |
try |
{ |
- return env->NewStringUTF(GetNotificationPtr(ptr)->GetTitle().c_str()); |
+ return env->NewStringUTF(GetNotificationPtr(ptr)->GetTexts().title.c_str()); |
} |
CATCH_THROW_AND_RETURN(env, 0) |
} |
@@ -76,7 +76,7 @@ static jstring JniGetMessageString(JNIEnv* env, jclass clazz, jlong ptr) |
{ |
try |
{ |
- return env->NewStringUTF(GetNotificationPtr(ptr)->GetMessageString().c_str()); |
+ return env->NewStringUTF(GetNotificationPtr(ptr)->GetTexts().message.c_str()); |
} |
CATCH_THROW_AND_RETURN(env, 0) |
} |