Merge pull request #208300 from hadilq/androidenv/fix-system-image-download-url-for-default-type
This commit is contained in:
commit
338097c04c
|
@ -17,6 +17,9 @@ end
|
|||
|
||||
# Returns a system image URL for a given system image name.
|
||||
def image_url value, dir
|
||||
if dir == "default"
|
||||
dir = "android"
|
||||
end
|
||||
if value && value.start_with?('http')
|
||||
value
|
||||
elsif value
|
||||
|
|
Loading…
Reference in a new issue