Handle nested folder case
Change-Id: Id6d6a5899e8255d18192adbc766d8d9a0e6825d0 Signed-off-by: Roger Chen <cxr514033970@gmail.com>
This commit is contained in:
committed by
Gerrit Code Review
parent
d13b23a436
commit
1740ada533
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user