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

Unified Diff: build/android/incremental_install/java/org/chromium/incrementalinstall/ClassLoaderPatcher.java

Issue 1388803002: Fix incremental_install breaking after clearing app data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert comment change Created 5 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698