aboutsummaryrefslogtreecommitdiffstats
path: root/examples/androidextras/notification/notificationclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/androidextras/notification/notificationclient.cpp')
-rw-r--r--examples/androidextras/notification/notificationclient.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/androidextras/notification/notificationclient.cpp b/examples/androidextras/notification/notificationclient.cpp
index d9cbf84..f48c401 100644
--- a/examples/androidextras/notification/notificationclient.cpp
+++ b/examples/androidextras/notification/notificationclient.cpp
@@ -40,7 +40,6 @@
****************************************************************************/
#include "notificationclient.h"
-#include "androidjnibindings.h"
#include <QtAndroidExtras/QJNIObject>
@@ -67,7 +66,7 @@ QString NotificationClient::notification() const
void NotificationClient::updateAndroidNotification()
{
QJNIObject javaNotification = QJNIObject::fromString(m_notification);
- QJNIObject::callStaticMethod<void>(AndroidJNIBindings::notificationClientClass(),
+ QJNIObject::callStaticMethod<void>("org/qtproject/example/notification/NotificationClient",
"notify",
"(Ljava/lang/String;)V",
javaNotification.object<jstring>());