[Android] Minor fixes for Play Feature Delivery

This commit is contained in:
Braden Farmer 2020-08-28 16:04:44 -06:00
parent 93f9d69742
commit 34a8c980ad
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