Enable compatibility by default in Nougat + (native)
This commit is contained in:
parent
4b1c4ae446
commit
319588868f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue