Merge pull request #11256 from farmerbb/play_feature_delivery_fixes

[Android] Minor fixes for Play Feature Delivery
This commit is contained in:
Autechre 2020-08-29 01:15:54 +02:00 committed by GitHub
commit 917aba4800
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 0 deletions

View File

@ -47,6 +47,10 @@ import java.util.Locale;
*/
public class RetroActivityCommon extends NativeActivity
{
static {
System.loadLibrary("retroarch-activity");
}
public static int FRONTEND_POWERSTATE_NONE = 0;
public static int FRONTEND_POWERSTATE_NO_SOURCE = 1;
public static int FRONTEND_POWERSTATE_CHARGING = 2;

View File

@ -14,6 +14,12 @@ allprojects {
google()
jcenter()
}
Properties props = new Properties()
props.load(new FileInputStream(new File(project.rootDir, "retroarch.properties")))
props.each { prop ->
project.ext.set(prop.key, prop.value)
}
}
apply plugin: 'com.android.application'

View File

@ -0,0 +1 @@
android.bundle.enableUncompressedNativeLibs=false