diff options
| author | 2020-06-25 17:53:38 +0000 | |
|---|---|---|
| committer | 2020-06-25 17:53:38 +0000 | |
| commit | 1ad68321d73dfbe9a2cb7923adb39d28214e7425 (patch) | |
| tree | 8d7df8596e3212153cc2bb9daec80ba3eb43ae55 | |
| parent | 1cd701f143dfff758d6328cf0dbee2a734372fa6 (diff) | |
| parent | e5eb670c8c14b3f61b283d3d702b5d32cf2ff28f (diff) | |
Merge changes from topic "NR_onDataConnectionStateChanged"
* changes:
MobileSignalController removes the code for icon reset.
Add the log at onDataConnectionStateChanged do reset displayInfo
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/policy/MobileSignalController.java | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/policy/MobileSignalController.java b/packages/SystemUI/src/com/android/systemui/statusbar/policy/MobileSignalController.java index 17481bf601e1..c8aa22fc28f8 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/policy/MobileSignalController.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/policy/MobileSignalController.java @@ -640,8 +640,7 @@ public class MobileSignalController extends SignalController< + " dataState=" + state.getDataRegistrationState()); } mServiceState = state; - // onDisplayInfoChanged is invoked directly after onServiceStateChanged, so not calling - // updateTelephony() to prevent icon flickering in case of overrides. + updateTelephony(); } @Override @@ -651,10 +650,6 @@ public class MobileSignalController extends SignalController< + " type=" + networkType); } mDataState = state; - if (networkType != mTelephonyDisplayInfo.getNetworkType()) { - mTelephonyDisplayInfo = new TelephonyDisplayInfo(networkType, - TelephonyDisplayInfo.OVERRIDE_NETWORK_TYPE_NONE); - } updateTelephony(); } |