mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-25 00:22:10 +00:00
Android: Reassert sustained perf when going ingame.
This commit is contained in:
parent
581a288852
commit
040ba2b3ff
@ -1316,6 +1316,7 @@ public abstract class NativeActivity extends Activity {
|
||||
if (params.equals("ingame")) {
|
||||
// Keep the screen bright - very annoying if it goes dark when tilting away
|
||||
window.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
||||
updateSustainedPerformanceMode();
|
||||
} else {
|
||||
// Only keep the screen bright ingame.
|
||||
window.clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
|
||||
|
Loading…
x
Reference in New Issue
Block a user