summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVaL Doroshchuk <valentyn.doroshchuk@qt.io>2020-09-21 14:41:50 +0200
committerVaL Doroshchuk <valentyn.doroshchuk@qt.io>2020-09-23 15:21:39 +0200
commite7f1ce2be868f649278fcc7d7ea7e4f4403bd3dc (patch)
tree56bf2f7bb90f9dcca2257f9ac8a9ee75409c7feb
parent382edadd49d077300f01fcaf2dda1e4158954692 (diff)
Add dummy impl QtMultimediaUtils::setActivity
Change-Id: I59830dad9d79046c99b1d59d8c26c4b3a59791e9 Reviewed-by: Val Doroshchuk <valentyn.doroshchuk@qt.io>
-rw-r--r--src/plugins/android/jar/src/org/qtproject/qt5/android/multimedia/QtMultimediaUtils.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/android/jar/src/org/qtproject/qt5/android/multimedia/QtMultimediaUtils.java b/src/plugins/android/jar/src/org/qtproject/qt5/android/multimedia/QtMultimediaUtils.java
index e16d424cf..f88a45359 100644
--- a/src/plugins/android/jar/src/org/qtproject/qt5/android/multimedia/QtMultimediaUtils.java
+++ b/src/plugins/android/jar/src/org/qtproject/qt5/android/multimedia/QtMultimediaUtils.java
@@ -39,6 +39,7 @@
package org.qtproject.qt5.android.multimedia;
+import android.app.Activity;
import android.content.Context;
import android.view.OrientationEventListener;
import android.os.Environment;
@@ -70,6 +71,10 @@ public class QtMultimediaUtils
static private Context m_context = null;
static private OrientationListener m_orientationListener = null;
+ static public void setActivity(Activity qtMainActivity, Object qtActivityDelegate)
+ {
+ }
+
static public void setContext(Context context)
{
m_context = context;