summaryrefslogtreecommitdiffstats
path: root/sal
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2019-11-20 17:55:43 +0100
committerJan Holesovsky <kendy@collabora.com>2019-12-02 10:23:25 +0100
commitfa6979f1f5e781aa8d141a7a6691e2de55937c39 (patch)
tree33ff98c1687926f90e8af2c4964853beeb04da1a /sal
parentsync std::unexpected_handler across bridges (diff)
downloadcore-fa6979f1f5e781aa8d141a7a6691e2de55937c39.tar.gz
core-fa6979f1f5e781aa8d141a7a6691e2de55937c39.zip
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/83343 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Diffstat (limited to 'sal')
-rw-r--r--sal/android/libreofficekit-jni.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sal/android/libreofficekit-jni.c b/sal/android/libreofficekit-jni.c
index 93742833168b..b853d8e75380 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);
@@ -163,10 +162,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