From 31efad6168d2b2c4a99a02d69d9a71fb750d1a5e Mon Sep 17 00:00:00 2001 From: Jan Holesovsky Date: Wed, 20 Nov 2019 17:55:43 +0100 Subject: android: Get rid of the 'old' vs. Online-based runtime distinction. No need for this when we have a compile-time distinction now anyway. Change-Id: Ic86c8cce38a86635ea3efb4229c08f63059c9ee6 Reviewed-on: https://gerrit.libreoffice.org/83719 Reviewed-by: Jan Holesovsky Tested-by: Jenkins --- sal/android/libreofficekit-jni.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'sal') diff --git a/sal/android/libreofficekit-jni.c b/sal/android/libreofficekit-jni.c index e4d7f4828a54..08827df54f07 100644 --- a/sal/android/libreofficekit-jni.c +++ b/sal/android/libreofficekit-jni.c @@ -37,7 +37,6 @@ extern const char* data_dir; extern const char* cache_dir; extern void* apk_file; extern int apk_file_size; -extern bool android_lok_from_jni; ///< for the distinction if the LOK is used for the 'old' (JNI-based) or the 'new' (loolwsd-based) app AAssetManager* native_asset_manager; extern void Java_org_libreoffice_android_Bootstrap_putenv(JNIEnv* env, jobject clazz, jstring string); @@ -164,10 +163,6 @@ jboolean Java_org_libreoffice_kit_LibreOfficeKit_initializeNative (void) clazz; - // the 'old' app needs to avoid setting the virtual device to transparent - // in paintTile(), so indicate we are using the 'old' app - android_lok_from_jni = true; - libreofficekit_initialize(env, dataDir, cacheDir, apkFile, assetManager); // LibreOfficeKit expects a path to the program/ directory -- cgit v1.2.3