summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--android/source/AndroidManifest.xml3
-rw-r--r--android/source/build.gradle6
2 files changed, 4 insertions, 5 deletions
diff --git a/android/source/AndroidManifest.xml b/android/source/AndroidManifest.xml
index fb51eb4b0e43..58da19119828 100644
--- a/android/source/AndroidManifest.xml
+++ b/android/source/AndroidManifest.xml
@@ -11,10 +11,11 @@
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.INTERNET" />
+ <!-- extractNativeLibs="true" needed e.g. for NSS to load modules at runtime -->
<application
android:name=".LibreOfficeApplication"
android:allowBackup="true"
- android:extractNativeLibs="${extractNativeLibs}"
+ android:extractNativeLibs="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/LibreOfficeTheme"
diff --git a/android/source/build.gradle b/android/source/build.gradle
index 668ff5e006b9..3383df0679d6 100644
--- a/android/source/build.gradle
+++ b/android/source/build.gradle
@@ -66,12 +66,10 @@ android {
// make android studio happy...
jniDebuggable true
// would work just fine with external, but setting emulator up is a little more work
- manifestPlaceholders = [installLocation: "auto", extractNativeLibs: "false"]
+ manifestPlaceholders = [installLocation: "auto"]
}
release {
- // need to extract native libs (allow to compress them in apk), since otherwise would
- // exceed maximum size for playstore
- manifestPlaceholders = [installLocation: "preferExternal", extractNativeLibs: "true"]
+ manifestPlaceholders = [installLocation: "preferExternal"]
}
}