Skip to content

Commit c34692d

Browse files
dsandlerThe Android Automerger
authored andcommitted
Retain signal level even when data is offline.
Also disable extremely verbose RSSI logging. Bug: 5340142 Change-Id: I051a4cec5651a0734db2666526b16037d7053a1e
1 parent 044163e commit c34692d

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

packages/SystemUI/src/com/android/systemui/statusbar/policy/NetworkController.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -315,16 +315,12 @@ public void onCallStateChanged(int state, String incomingNumber) {
315315

316316
@Override
317317
public void onDataConnectionStateChanged(int state, int networkType) {
318-
if (DEBUG || CHATTY) {
318+
if (DEBUG) {
319319
Slog.d(TAG, "onDataConnectionStateChanged: state=" + state
320320
+ " type=" + networkType);
321321
}
322322
mDataState = state;
323323
mDataNetType = networkType;
324-
if (state < 0) {
325-
// device without a data connection
326-
mSignalStrength = null;
327-
}
328324
updateDataNetType();
329325
updateDataIcon();
330326
refreshViews();

0 commit comments

Comments
 (0)