Merge "Handle nested folder case"
This commit is contained in:
@@ -499,7 +499,7 @@ public class DownloadManager {
|
|||||||
" already exists and is not a directory");
|
" already exists and is not a directory");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (!file.mkdir()) {
|
if (!file.mkdirs()) {
|
||||||
throw new IllegalStateException("Unable to create directory: "+
|
throw new IllegalStateException("Unable to create directory: "+
|
||||||
file.getAbsolutePath());
|
file.getAbsolutePath());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user