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

Unified Diff: base/android/java/src/org/chromium/base/CommandLineInitUtil.java

Issue 2675013002: android: Crash child immediately on uncaught exception (Closed)
Patch Set: comments Created 3 years, 10 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 | « base/android/java/src/org/chromium/base/BuildInfo.java ('k') | content/public/android/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/java/src/org/chromium/base/CommandLineInitUtil.java
diff --git a/base/android/java/src/org/chromium/base/CommandLineInitUtil.java b/base/android/java/src/org/chromium/base/CommandLineInitUtil.java
index fa10cd662cbb6368c55d20707a285cdbe2c50d35..bec9b40273787b720ea65b16eab8e5f152c2dfb6 100644
--- a/base/android/java/src/org/chromium/base/CommandLineInitUtil.java
+++ b/base/android/java/src/org/chromium/base/CommandLineInitUtil.java
@@ -71,7 +71,7 @@ public final class CommandLineInitUtil {
new File(COMMAND_LINE_FILE_PATH_DEBUG_APP, fileName);
if (!alternativeCommandLineFile.exists()) return null;
try {
- if ("eng".equals(Build.TYPE) || "userdebug".equals(Build.TYPE)) {
+ if (BuildInfo.isDebugAndroid()) {
return alternativeCommandLineFile;
}
« no previous file with comments | « base/android/java/src/org/chromium/base/BuildInfo.java ('k') | content/public/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698