Enable compatibility by default in Nougat +

This commit is contained in:
TwistedUmbrella 2017-09-30 14:01:18 -04:00
parent b46eeb6474
commit 274033baed
1 changed files with 6 additions and 0 deletions

View File

@ -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;