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

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java

Issue 1641383002: [Android WebView] Do not terminate WebView when second browser is started (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 | android_webview/javatests/src/org/chromium/android_webview/test/AwSecondBrowserProcessTest.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java
diff --git a/android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java b/android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java
index e7a6389dc4fd5d11885b19b69c9fb9baec3f6aa7..4b3f4c7b00895d5b1d4066be3b0d09abb02c936d 100644
--- a/android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java
+++ b/android_webview/java/src/org/chromium/android_webview/AwBrowserProcess.java
@@ -104,9 +104,8 @@ public abstract class AwBrowserProcess {
Log.w(TAG, "Failed to create lock file " + lockFile, e);
}
if (!success) {
- throw new RuntimeException(
- "Could not obtain an exclusive lock on the data dir. The app may have "
- + "another WebView opened in a separate process");
+ Log.w(TAG, "The app may have another WebView opened in a separate process. "
+ + "This is not recommended and may stop working in future versions.");
}
}
}
« no previous file with comments | « no previous file | android_webview/javatests/src/org/chromium/android_webview/test/AwSecondBrowserProcessTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698