Squelch chatty log messages.
Bug: 18666850 Change-Id: I0f9fe4fd0143b5668f66bd0a9c407a5018876b44
This commit is contained in:
@@ -272,7 +272,7 @@ public class NetworkControllerImpl extends BroadcastReceiver
|
|||||||
if (mMobileSignalControllers.containsKey(dataSubId)) {
|
if (mMobileSignalControllers.containsKey(dataSubId)) {
|
||||||
return mMobileSignalControllers.get(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;
|
return mDefaultSignalController;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -293,7 +293,7 @@ public class NetworkControllerImpl extends BroadcastReceiver
|
|||||||
if (mMobileSignalControllers.containsKey(voiceSubId)) {
|
if (mMobileSignalControllers.containsKey(voiceSubId)) {
|
||||||
return mMobileSignalControllers.get(voiceSubId).isEmergencyOnly();
|
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...
|
// Something is wrong, better assume we can't make calls...
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user