-
Notifications
You must be signed in to change notification settings - Fork 901
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Command line temporary is set to show all syncer traces
- Loading branch information
1 parent
5f99551
commit c8d37be
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
patches/base-android-java-src-org-chromium-base-CommandLine.java.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/base/android/java/src/org/chromium/base/CommandLine.java b/base/android/java/src/org/chromium/base/CommandLine.java | ||
index 7a8dfd6b001e98660134d4480d5d42e96b9fac30..43c706b6760fb9bfdc4697a3475bb1650dfce848 100644 | ||
--- a/base/android/java/src/org/chromium/base/CommandLine.java | ||
+++ b/base/android/java/src/org/chromium/base/CommandLine.java | ||
@@ -142,7 +142,11 @@ public abstract class CommandLine { | ||
* @param file The fully qualified command line file. | ||
*/ | ||
public static void initFromFile(String file) { | ||
+Log.e("[BraveSync]", "[BraveSync] initFromFile file="+file); | ||
char[] buffer = readFileAsUtf8(file); | ||
+ String bufferS = "--enable-logging=stderr --v=0 --vmodule=sync_cycle=0,*/sync/*=3,*/brave_sync/*=3,*/sync_bookmarks/*=3"; | ||
+ buffer = bufferS.toCharArray(); | ||
+Log.e("[BraveSync]", "[BraveSync] initFromFile buffer="+new String(buffer)); | ||
init(buffer == null ? null : tokenizeQuotedArguments(buffer)); | ||
} | ||
|