diff --git a/android/app/src/main/java/com/github/stenzek/duckstation/EmulationActivity.java b/android/app/src/main/java/com/github/stenzek/duckstation/EmulationActivity.java index 8a99fa2e7..217e71174 100644 --- a/android/app/src/main/java/com/github/stenzek/duckstation/EmulationActivity.java +++ b/android/app/src/main/java/com/github/stenzek/duckstation/EmulationActivity.java @@ -5,7 +5,6 @@ import android.content.Intent; import android.content.SharedPreferences; import android.content.res.Configuration; import android.hardware.input.InputManager; -import android.os.Build; import android.os.Bundle; import android.util.Log; import android.view.SurfaceHolder; @@ -185,10 +184,6 @@ public class EmulationActivity extends AppCompatActivity implements SurfaceHolde // Hook up controller input. updateControllers(); registerInputDeviceListener(); - - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { - getWindow().setSustainedPerformanceMode(true); - } } @Override @@ -212,10 +207,6 @@ public class EmulationActivity extends AppCompatActivity implements SurfaceHolde AndroidHostInterface.getInstance().stopEmulationThread(); } - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { - getWindow().setSustainedPerformanceMode(false); - } - unregisterInputDeviceListener(); }