summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/android.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/core/android.cpp b/core/android.cpp
index f64182b08..15f95612a 100644
--- a/core/android.cpp
+++ b/core/android.cpp
@@ -239,3 +239,15 @@ bool subsurface_user_is_root()
return false;
}
}
+
+/* called from QML manager */
+void checkPendingIntents()
+{
+ QAndroidJniObject activity = QtAndroid::androidActivity();
+ if(activity.isValid()) {
+ activity.callMethod<void>("checkPendingIntents");
+ qDebug() << "checkPendingIntents ";
+ return;
+ }
+ qDebug() << "checkPendingIntents: Activity not valid";
+}