From ea09b96c897f5b2bca58570c96541d1cc80f6da9 Mon Sep 17 00:00:00 2001
From: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
Date: Sun, 21 May 2017 18:07:51 -0400
Subject: [PATCH] manifest: add extractNativeLib attribute
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Prevent the system from creating a second copy of the .so files and fix
the System.loadLibrary call so it’s able to find and open native libs
straight from the APK. This is used starting from Android 6.0.

Change-Id: If2d35d13ff71a6c2305dd6086455bf65c88a44aa
---
 ring-android/app/src/main/AndroidManifest.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ring-android/app/src/main/AndroidManifest.xml b/ring-android/app/src/main/AndroidManifest.xml
index da86b6ceb..0e7251704 100644
--- a/ring-android/app/src/main/AndroidManifest.xml
+++ b/ring-android/app/src/main/AndroidManifest.xml
@@ -68,6 +68,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
         android:name=".application.RingApplication"
         android:allowBackup="true"
         android:icon="@drawable/ic_launcher"
+        android:extractNativeLibs="false"
         android:label="@string/app_name"
         android:resizeableActivity="true"
         android:supportsRtl="true">
-- 
GitLab