aboutsummaryrefslogtreecommitdiffstats
path: root/sdkmanager/app
diff options
context:
space:
mode:
authorRaphael Moll <ralf@android.com>2012-05-04 16:52:40 -0700
committerRaphael Moll <ralf@android.com>2012-05-07 11:33:33 -0700
commit870b1db0790e53f79a845b66de96d093e44c1058 (patch)
tree0cb4ed033d2dcbf38dbeef781b8f694b360427a2 /sdkmanager/app
parent443bced59c3b18ab297372c7dce4f394a4e95eb9 (diff)
downloadsdk-870b1db0790e53f79a845b66de96d093e44c1058.zip
sdk-870b1db0790e53f79a845b66de96d093e44c1058.tar.gz
sdk-870b1db0790e53f79a845b66de96d093e44c1058.tar.bz2
SDK Manager: fix parsing of empty AndroidVersion codename.
SDK Bug: 29952 To reproduce the bug, install any system image with the SDK Manager and add the line "AndroidVersion.CodeName=" in the source.properties. When the SDK Manager loads, it will incorrectly flag the system image as "broken" because it can't understand the empty codename. This fixes it by sanitizing the codename when creating an AndroidVersion and using that class when loading the properties instead of hand checking the codename in various places. Change-Id: Ie4a02739e56f576c7644b5539697c943d0082aac
Diffstat (limited to 'sdkmanager/app')
0 files changed, 0 insertions, 0 deletions