Add hideSplashScreen() back temporarily to qjnihelpers_p
This causes a build fail for androidextras, bring it back untill the full refactoring to use qtbase APIs is done. Change-Id: I3528c92d7c36818b105ae300ed1df9a7b281bb92 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
This commit is contained in:
parent
60c87c6801
commit
3b096530e1
@ -535,6 +535,13 @@ void QtAndroidPrivate::unregisterKeyEventListener(QtAndroidPrivate::KeyEventList
|
||||
g_keyEventListeners()->listeners.removeOne(listener);
|
||||
}
|
||||
|
||||
void QtAndroidPrivate::hideSplashScreen(JNIEnv *env, int duration)
|
||||
{
|
||||
Q_UNUSED(env)
|
||||
QJniObject::callStaticMethod<void>("org/qtproject/qt/android/QtNative",
|
||||
"hideSplashScreen", "(I)V", duration);
|
||||
}
|
||||
|
||||
void QtAndroidPrivate::waitForServiceSetup()
|
||||
{
|
||||
g_waitForServiceSetupSemaphore->acquire();
|
||||
|
@ -149,6 +149,9 @@ namespace QtAndroidPrivate
|
||||
Q_CORE_EXPORT void registerKeyEventListener(KeyEventListener *listener);
|
||||
Q_CORE_EXPORT void unregisterKeyEventListener(KeyEventListener *listener);
|
||||
|
||||
// TODO: Remove once other modules refectoring is done and androidextras is not needed.
|
||||
Q_CORE_EXPORT void hideSplashScreen(JNIEnv *env, int duration = 0);
|
||||
|
||||
Q_CORE_EXPORT void waitForServiceSetup();
|
||||
Q_CORE_EXPORT int acuqireServiceSetup(int flags);
|
||||
Q_CORE_EXPORT void setOnBindListener(OnBindListener *listener);
|
||||
|
Loading…
Reference in New Issue
Block a user