| Index: libadblockplus-android/jni/JniNotification.cpp |
| diff --git a/libadblockplus-android/jni/JniNotification.cpp b/libadblockplus-android/jni/JniNotification.cpp |
| index affec085297ede4b671a696f9bcc35d74e7d40a5..cd7069bc197de2866c55aff4e55930217b2f27a7 100644 |
| --- a/libadblockplus-android/jni/JniNotification.cpp |
| +++ b/libadblockplus-android/jni/JniNotification.cpp |
| @@ -37,7 +37,7 @@ void JniNotification_OnUnload(JavaVM* vm, JNIEnv* env, void* reserved) |
| static AdblockPlus::Notification* GetNotificationPtr(jlong ptr) |
| { |
| - return JniLongToTypePtr<AdblockPlus::NotificationPtr>(ptr)->get(); |
| + return JniLongToTypePtr<AdblockPlus::Notification>(ptr); |
|
sergei
2017/04/26 09:21:00
as far as I remember we store the pointer in Java
anton
2017/04/26 10:22:59
No, we do create the same object class as it was p
sergei
2017/04/26 14:12:56
Let's consider an example with Notification.
Java
anton
2017/04/27 06:21:01
We pass just `long` value to Java side without any
|
| } |
| static jobject JNICALL JniGetType(JNIEnv* env, jclass clazz, jlong ptr) |