Commit 4787c9ad authored by Michael Bai's avatar Michael Bai Committed by Commit Bot

WV Autofill: Fix stable version log issue

Check the system setting instead of using Chrome's

Bug: 1141646
Change-Id: I43d8bfc8dd3462da21cc040d2c5e4bc3b7469bb2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2492964Reviewed-by: default avatarColin Blundell <blundell@chromium.org>
Commit-Queue: Michael Bai <michaelbai@chromium.org>
Cr-Commit-Position: refs/heads/master@{#820380}
parent 7785e103
......@@ -185,6 +185,7 @@ public class AutofillManagerWrapper {
private static void updateLogStat() {
// Use 'setprop log.tag.AwAutofillManager DEBUG' to enable the log at runtime.
// NOTE: See the comment on TAG above for why this is still AwAutofillManager.
sIsLoggable = Log.isLoggable(TAG, Log.DEBUG);
// Check the system setting directly.
sIsLoggable = android.util.Log.isLoggable(TAG, Log.DEBUG);
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment