Let's try to update the sustainedperformancemode in yet another place... See #11018

This commit is contained in:
Henrik Rydgård 2018-05-10 21:20:44 +02:00
parent d10d57bc03
commit ef67899fdc

View file

@ -727,6 +727,7 @@ public abstract class NativeActivity extends Activity implements SurfaceHolder.C
@Override
protected void onResume() {
super.onResume();
updateSustainedPerformanceMode();
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) {
updateSystemUiVisibility();
}