Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1740ada5 authored by Roger Chen's avatar Roger Chen Committed by Gerrit Code Review
Browse files

Handle nested folder case



Change-Id: Id6d6a5899e8255d18192adbc766d8d9a0e6825d0
Signed-off-by: default avatarRoger Chen <cxr514033970@gmail.com>
parent d13b23a4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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());
                }