Emulator launch options dialog.
This is displayed when clicking the Start button in the AVD manager. The dialog allows to easily scale the emulator to match an arbitrary screen size and to wipe the user data if needed. The required monitor dpi is computed using java.awt.Toolkit, but (at least on MacOS) it doesn't return the correct value, so it can be user supplied. It's stored at least while the app is running and if possible in the settings of the ADV/SDK Manager/Updater. The wipe-data and scale flags are stored and reused while the app keeps running as well. Change-Id: Ia2f3ff5f4de285a3d505c6914d6b89cc663be284
This commit is contained in:
@@ -110,7 +110,7 @@ public final class AvdManager {
|
||||
/**
|
||||
* Pattern to match pixel-sized skin "names", e.g. "320x480".
|
||||
*/
|
||||
public final static Pattern NUMERIC_SKIN_SIZE = Pattern.compile("[0-9]{2,}x[0-9]{2,}"); //$NON-NLS-1$
|
||||
public final static Pattern NUMERIC_SKIN_SIZE = Pattern.compile("([0-9]{2,})x([0-9]{2,})"); //$NON-NLS-1$
|
||||
|
||||
private final static String USERDATA_IMG = "userdata.img"; //$NON-NLS-1$
|
||||
private final static String CONFIG_INI = "config.ini"; //$NON-NLS-1$
|
||||
|
||||
Reference in New Issue
Block a user