Remove logspam of MediaRouter
Bug: 62459799
Test: manual
Change-Id: Ia705a3d35625b1ec2d7cd2717f082c7d8c216099
diff --git a/media/java/android/media/MediaRouter.java b/media/java/android/media/MediaRouter.java
index 91dada7..fef6973 100644
--- a/media/java/android/media/MediaRouter.java
+++ b/media/java/android/media/MediaRouter.java
@@ -1226,7 +1226,9 @@
}
static void dispatchRouteChanged(RouteInfo info, int oldSupportedTypes) {
- Log.v(TAG, "Dispatching route change: " + info);
+ if (DEBUG) {
+ Log.d(TAG, "Dispatching route change: " + info);
+ }
final int newSupportedTypes = info.mSupportedTypes;
for (CallbackInfo cbi : sStatic.mCallbacks) {
// Reconstruct some of the history for callbacks that may not have observed