Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: jni/JniNotification.cpp

Issue 29329928: Issue 3297 - Fix issues introduced by recent libadblockplus changes and update dependencies (Closed)
Patch Set: MinSDK and copy'n'paste Created Nov. 20, 2015, 12:19 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « jni/JniJsEngine.cpp ('k') | jni/JniShowNotificationCallback.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
}
« no previous file with comments | « jni/JniJsEngine.cpp ('k') | jni/JniShowNotificationCallback.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld