Enable compatibility by default in Nougat +
This commit is contained in:
parent
b46eeb6474
commit
274033baed
|
@ -77,6 +77,12 @@ public class GL2JNIActivity extends Activity {
|
||||||
* catch (IOException e) { e.getMessage(); e.printStackTrace(); }
|
* catch (IOException e) { e.getMessage(); e.printStackTrace(); }
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
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;
|
String fileName = null;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue