Don't extract native libraries for non-root build

This commit is contained in:
Cameron Gutman 2017-12-27 19:40:49 -08:00
parent 15e856dccb
commit 3fff34e08a
2 changed files with 9 additions and 2 deletions

View File

@ -2,5 +2,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> <manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Non-root application name --> <!-- Non-root application name -->
<application android:label="Moonlight" /> <!-- No need to extract libraries for the non-root version -->
<application
android:label="Moonlight"
android:extractNativeLibs="false" />
</manifest> </manifest>

View File

@ -2,5 +2,9 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> <manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Root application name --> <!-- Root application name -->
<application android:label="Moonlight (Root)" /> <!-- Ensure native libraries are always extracted for root builds,
since we must invoke the evdev_reader binary ourselves -->
<application
android:label="Moonlight (Root)"
android:extractNativeLibs="true" />
</manifest> </manifest>