Skip to content

Commit 8814b19

Browse files
committed
use auto instead of on
1 parent 1c1c462 commit 8814b19

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/processing/mode/android/EmulatorController.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ synchronized public void launch(File sdkToolsPath, boolean wear, boolean gpu) th
9090
avdName = AVD.mobileAVD.name;
9191
}
9292

93-
String gpuFlag = gpu ? "on" : "off";
93+
// https://developer.android.com/studio/run/emulator-acceleration.html#accel-graphics
94+
String gpuFlag = gpu ? "auto" : "off";
95+
9496
File emulatorPath = new File(sdkToolsPath, "emulator");
9597
if(!emulatorPath.exists())
9698
emulatorPath = new File(sdkToolsPath, "emulator.exe"); //Windows

0 commit comments

Comments
 (0)