diff options
-rw-r--r-- | core/android.cpp | 12 |
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"; +} |