Index: build/android/incremental_install/java/org/chromium/incrementalinstall/ClassLoaderPatcher.java |
diff --git a/build/android/incremental_install/java/org/chromium/incrementalinstall/ClassLoaderPatcher.java b/build/android/incremental_install/java/org/chromium/incrementalinstall/ClassLoaderPatcher.java |
index 66486c5f7ef23e7ae40e56113d087e961c21ba4d..8b7444a8c7c61c97ceb8dfb807d9c19733ed6702 100644 |
--- a/build/android/incremental_install/java/org/chromium/incrementalinstall/ClassLoaderPatcher.java |
+++ b/build/android/incremental_install/java/org/chromium/incrementalinstall/ClassLoaderPatcher.java |
@@ -120,12 +120,12 @@ final class ClassLoaderPatcher { |
// data directory first. |
// https://code.google.com/p/android/issues/detail?id=79480 |
if (mIsPrimaryProcess) { |
+ ensureAppFilesSubDirExists(); |
LockFile lockFile = LockFile.acquireRuntimeLock(copyLibsLockFile); |
if (lockFile == null) { |
LockFile.waitForRuntimeLock(copyLibsLockFile, 10 * 1000); |
} else { |
try { |
- ensureAppFilesSubDirExists(); |
localLibsDir.mkdir(); |
localLibsDir.setReadable(true, false); |
localLibsDir.setExecutable(true, false); |