Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1013)

Unified Diff: mojo/runner/android/apk/src/org/chromium/mojo/shell/FileHelper.java

Issue 1130763004: Gets mandoline working on android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: feedback Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/runner/android/apk/src/org/chromium/mojo/shell/FileHelper.java
diff --git a/mojo/runner/android/apk/src/org/chromium/mojo/shell/FileHelper.java b/mojo/runner/android/apk/src/org/chromium/mojo/shell/FileHelper.java
index c455251559f35f3d5cece6872935792b9878cedb..08455528fde18f59ebc3ef2162d4ba34f56f957e 100644
--- a/mojo/runner/android/apk/src/org/chromium/mojo/shell/FileHelper.java
+++ b/mojo/runner/android/apk/src/org/chromium/mojo/shell/FileHelper.java
@@ -101,6 +101,7 @@ class FileHelper {
if (outputFile.exists()) {
return outputFile;
}
+ outputFile.getParentFile().mkdirs();
}
BufferedInputStream inputStream = new BufferedInputStream(
« no previous file with comments | « mojo/runner/android/apk/AndroidManifest.xml ('k') | mojo/runner/android/apk/src/org/chromium/mojo/shell/ShellMain.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698