Log debug info at Debug level

All logs under the DEBUG flag in this file are (properly) logging
at Log.d(), except for one at Log.e(), claiming an "E"rror in the
system.

We change that to Log.d() to avoid confusing folks debugging other
issues who are looking through logcat.

Bug: 181080516
Test: TreeHugger
Change-Id: I4ff6fd9a6dd6caa7516620125762b7c0442b74b4
This commit is contained in:
Greg Kaiser
2021-02-23 19:40:04 -08:00
parent 6ba3501f98
commit fd24f87a7a

View File

@@ -132,7 +132,7 @@ public class NavigationModeController implements Dumpable {
Settings.Secure.putString(mCurrentUserContext.getContentResolver(),
Secure.NAVIGATION_MODE, String.valueOf(mode)));
if (DEBUG) {
Log.e(TAG, "updateCurrentInteractionMode: mode=" + mode);
Log.d(TAG, "updateCurrentInteractionMode: mode=" + mode);
dumpAssetPaths(mCurrentUserContext);
}