Merge "Handle nested folder case"

This commit is contained in:
Dianne Hackborn
2013-01-07 15:20:45 -08:00
committed by Gerrit Code Review

View File

@@ -499,7 +499,7 @@ public class DownloadManager {
" already exists and is not a directory");
}
} else {
if (!file.mkdir()) {
if (!file.mkdirs()) {
throw new IllegalStateException("Unable to create directory: "+
file.getAbsolutePath());
}