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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user