Built with the old NDK api level

This commit is contained in:
shagr4th 2016-12-20 22:14:18 +01:00
parent f09ff9319d
commit 126361d1c1
4 changed files with 5 additions and 4 deletions

View file

@ -13,6 +13,7 @@ model {
ndk {
moduleName "droid48"
ldLibs.addAll(["android", "log"])
platformVersion = "9"
}
productFlavors {

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.ab.x48" android:installLocation="auto" android:versionCode="71" android:versionName="1.71">
package="org.ab.x48" android:installLocation="auto" android:versionCode="72" android:versionName="1.72">
<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name=".X48"
android:label="@string/app_name"

View file

@ -1050,8 +1050,7 @@ public class HPView extends SurfaceView implements SurfaceHolder.Callback, Runna
if (queuedCodes.size() == 0) {
return 0;
} else {
int c = queuedCodes.remove(0);
return c;
return queuedCodes.remove(0);
}
}
}

View file

@ -50,7 +50,7 @@ public class X48 extends Activity {
private ReLinker.Logger logcatLogger = new ReLinker.Logger() {
@Override
public void log(String message) {
Log.d("ReLinker", message);
Log.d("x48", message);
}
};
@ -90,6 +90,7 @@ public class X48 extends Activity {
@Override
public void failure(Throwable t) {
t.printStackTrace();
mHandler.obtainMessage(0).sendToTarget();
}
});