Don't log verbose stuff by default.
Bug: 32633923
Verbose logging can be enabled using: adb shell setprop log.tag.Documents VERBOSE
Change-Id: I03a5d4dae54a023d8b1b000bc7ea8e34ffe1035f
diff --git a/src/com/android/documentsui/NavigationViewManager.java b/src/com/android/documentsui/NavigationViewManager.java
index 65f9000..07e3824 100644
--- a/src/com/android/documentsui/NavigationViewManager.java
+++ b/src/com/android/documentsui/NavigationViewManager.java
@@ -16,7 +16,7 @@
package com.android.documentsui;
-import static com.android.documentsui.base.Shared.DEBUG;
+import static com.android.documentsui.base.Shared.VERBOSE;
import android.annotation.Nullable;
import android.graphics.drawable.Drawable;
@@ -99,7 +99,7 @@
if (mState.stack.size() <= 1) {
mBreadcrumb.show(false);
String title = mEnv.getCurrentRoot().title;
- if (DEBUG) Log.v(TAG, "New toolbar title is: " + title);
+ if (VERBOSE) Log.v(TAG, "New toolbar title is: " + title);
mToolbar.setTitle(title);
} else {
mBreadcrumb.show(true);
@@ -107,7 +107,7 @@
mBreadcrumb.postUpdate();
}
- if (DEBUG) Log.v(TAG, "Final toolbar title is: " + mToolbar.getTitle());
+ if (VERBOSE) Log.v(TAG, "Final toolbar title is: " + mToolbar.getTitle());
}
// Hamburger if drawer is present, else sad nullness.