Enable compatibility by default in Nougat + (native)

This commit is contained in:
Ender's Games 2018-08-08 09:58:26 -04:00
parent 4b1c4ae446
commit 319588868f
1 changed files with 7 additions and 1 deletions

View File

@ -75,6 +75,13 @@ public class GL2JNINative extends NativeActivity {
app.getConfigurationPrefs(prefs);
menu = new OnScreenMenu(GL2JNINative.this, prefs);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
pad.compat[0] = true;
pad.compat[1] = true;
pad.compat[2] = true;
pad.compat[3] = true;
}
String fileName = null;
// Call parent onCreate()
@ -581,7 +588,6 @@ public class GL2JNINative extends NativeActivity {
@Override
protected void onStop() {
super.onStop();
// mView.onStop();
}
@Override