diff options
| author | Raphael Moll <ralf@android.com> | 2014-10-10 16:27:37 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-10-10 16:27:38 +0000 |
| commit | dab1811ddf46fa92bd3c34ffbcc3691e38c5c638 (patch) | |
| tree | a78a88bf287da8c3c37fe5af9b95dabea8a3527e | |
| parent | d2db44dab3c52666c1ce5759624dda4a8d995216 (diff) | |
| parent | 222fa2d5b0f59baef96360affabc84656accb7c6 (diff) | |
| download | platform_tools_swt-idea133.tar.gz platform_tools_swt-idea133.tar.bz2 platform_tools_swt-idea133.zip | |
Merge "AVD Manager: no longer provide addon's base target sys-img." into idea133idea133
| -rwxr-xr-x | sdkmanager/sdkuilib/src/main/java/com/android/sdkuilib/internal/widgets/AvdCreationPresenter.java | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/sdkmanager/sdkuilib/src/main/java/com/android/sdkuilib/internal/widgets/AvdCreationPresenter.java b/sdkmanager/sdkuilib/src/main/java/com/android/sdkuilib/internal/widgets/AvdCreationPresenter.java index 81948fa..4f5331b 100755 --- a/sdkmanager/sdkuilib/src/main/java/com/android/sdkuilib/internal/widgets/AvdCreationPresenter.java +++ b/sdkmanager/sdkuilib/src/main/java/com/android/sdkuilib/internal/widgets/AvdCreationPresenter.java @@ -1248,9 +1248,15 @@ class AvdCreationPresenter { ISystemImage[] images = target.getSystemImages(); if ((images == null || images.length == 0) && !target.isPlatform()) { - // If an add-on does not provide any system images, use the ones - // from the parent. - images = target.getParent().getSystemImages(); + // This is an add-on and it does not provide any system image. + + // Before LMP / Tools 23.0.4, the behavior was to provide the + // parent (platform) system-image using this code: + // + // images = target.getParent().getSystemImages(); + // + // After tools 23.0.4, the behavior is to NOT provide the + // platform system-image for the add-on. } if (images != null) { |
