Squelch chatty log messages.

Bug: 18666850
Change-Id: I0f9fe4fd0143b5668f66bd0a9c407a5018876b44
This commit is contained in:
Dan Sandler
2014-12-08 15:42:52 -05:00
parent e912c9cc39
commit c846632762

View File

@@ -272,7 +272,7 @@ public class NetworkControllerImpl extends BroadcastReceiver
if (mMobileSignalControllers.containsKey(dataSubId)) {
return mMobileSignalControllers.get(dataSubId);
}
Log.e(TAG, "Cannot find controller for data sub: " + dataSubId);
if (DEBUG) Log.e(TAG, "Cannot find controller for data sub: " + dataSubId);
return mDefaultSignalController;
}
@@ -293,7 +293,7 @@ public class NetworkControllerImpl extends BroadcastReceiver
if (mMobileSignalControllers.containsKey(voiceSubId)) {
return mMobileSignalControllers.get(voiceSubId).isEmergencyOnly();
}
Log.e(TAG, "Cannot find controller for voice sub: " + voiceSubId);
if (DEBUG) Log.e(TAG, "Cannot find controller for voice sub: " + voiceSubId);
// Something is wrong, better assume we can't make calls...
return true;
}