Merge "SystemUI: Fix issue that log can't be enabled in MobileSignalController" am: 1469de0e53
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2062027 Change-Id: I47a2ba4d222070ee5438ae2c0ea41e1a16ba3f08 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -110,7 +110,7 @@ public class MobileSignalController extends SignalController<MobileState, Mobile
|
|||||||
@Override
|
@Override
|
||||||
public void onMobileStatusChanged(boolean updateTelephony,
|
public void onMobileStatusChanged(boolean updateTelephony,
|
||||||
MobileStatus mobileStatus) {
|
MobileStatus mobileStatus) {
|
||||||
if (Log.isLoggable(mTag, Log.DEBUG)) {
|
if (DEBUG) {
|
||||||
Log.d(mTag, "onMobileStatusChanged="
|
Log.d(mTag, "onMobileStatusChanged="
|
||||||
+ " updateTelephony=" + updateTelephony
|
+ " updateTelephony=" + updateTelephony
|
||||||
+ " mobileStatus=" + mobileStatus.toString());
|
+ " mobileStatus=" + mobileStatus.toString());
|
||||||
@@ -719,7 +719,7 @@ public class MobileSignalController extends SignalController<MobileState, Mobile
|
|||||||
* This will call listeners if necessary.
|
* This will call listeners if necessary.
|
||||||
*/
|
*/
|
||||||
private void updateTelephony() {
|
private void updateTelephony() {
|
||||||
if (Log.isLoggable(mTag, Log.DEBUG)) {
|
if (DEBUG) {
|
||||||
Log.d(mTag, "updateTelephonySignalStrength: hasService="
|
Log.d(mTag, "updateTelephonySignalStrength: hasService="
|
||||||
+ mCurrentState.isInService()
|
+ mCurrentState.isInService()
|
||||||
+ " ss=" + mCurrentState.signalStrength
|
+ " ss=" + mCurrentState.signalStrength
|
||||||
|
|||||||
Reference in New Issue
Block a user