Merge "SystemUI: Fix issue that log can't be enabled in MobileSignalController"
This commit is contained in:
@@ -110,7 +110,7 @@ public class MobileSignalController extends SignalController<MobileState, Mobile
|
||||
@Override
|
||||
public void onMobileStatusChanged(boolean updateTelephony,
|
||||
MobileStatus mobileStatus) {
|
||||
if (Log.isLoggable(mTag, Log.DEBUG)) {
|
||||
if (DEBUG) {
|
||||
Log.d(mTag, "onMobileStatusChanged="
|
||||
+ " updateTelephony=" + updateTelephony
|
||||
+ " mobileStatus=" + mobileStatus.toString());
|
||||
@@ -719,7 +719,7 @@ public class MobileSignalController extends SignalController<MobileState, Mobile
|
||||
* This will call listeners if necessary.
|
||||
*/
|
||||
private void updateTelephony() {
|
||||
if (Log.isLoggable(mTag, Log.DEBUG)) {
|
||||
if (DEBUG) {
|
||||
Log.d(mTag, "updateTelephonySignalStrength: hasService="
|
||||
+ mCurrentState.isInService()
|
||||
+ " ss=" + mCurrentState.signalStrength
|
||||
|
||||
Reference in New Issue
Block a user