OSDN Git Service

Adjust AVD create dialog to match sdcard size limits.
authorRaphael Moll <ralf@android.com>
Fri, 18 Feb 2011 00:17:06 +0000 (16:17 -0800)
committerRaphael Moll <ralf@android.com>
Fri, 18 Feb 2011 00:27:32 +0000 (16:27 -0800)
commitab3ac497d03c1b0e74694d8631046e4e4a5e2d7d
treeaa61e88702d9da190e16c0749d5049503b568ac7
parent5f3a13dc5b51dbd3eb88daf6f9bd57059aa046dd
Adjust AVD create dialog to match sdcard size limits.

Change mksdcard to a minimum of 9 MiB, which is what
we enforce in the UI (I believe the 8 MiB min was obsoleted
by the 9 MiB one.)
Also warn the user about the min/max sdcard size properly
directly in the creation dialog, instead of relying on
mksdcard to fail later.

Change-Id: I30bc425ed6b75d8a00965e9e2e25890bd9bd8b39
emulator/mksdcard/mksdcard.c
sdkmanager/libs/sdklib/src/com/android/sdklib/internal/avd/AvdManager.java
sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/AvdCreationDialog.java
sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/widgets/MessageBoxLog.java