Generalize usage of AndroidVersion instead of Api level in the SDK packages.

Platform, add-on and doc packages used to use Api Level to figure out
upgrade logic. This is replaced by AndroidVersion to properly handle
codename versions.
This commit is contained in:
Xavier Ducrohet
2009-07-21 13:48:37 -07:00
parent e2901002a6
commit ce359b0e8a
10 changed files with 59 additions and 37 deletions

View File

@@ -785,7 +785,6 @@ public final class AvdSelector {
mDetailsButton.setEnabled(hasSelection);
mStartButton.setEnabled(mOsSdkPath != null &&
hasSelection &&
selection != null &&
selection.getStatus() == AvdStatus.OK);
if (mDeleteButton != null) {
@@ -793,7 +792,6 @@ public final class AvdSelector {
}
if (mUpdateButton != null) {
mUpdateButton.setEnabled(hasSelection &&
selection != null &&
selection.getStatus() == AvdStatus.ERROR_IMAGE_DIR);
}
}