Skip to content

Commit c325cba

Browse files
author
Andrew Flynn
committed
Set phone/data signal icon ids to 0 in airplane mode
Sets the views to be GONE and also triggers a view refresh for airplane mode switching Bug: 6531918 Change-Id: I3b544df3665c16ff11cb79c6fa882fa4314db680
1 parent 101fb9f commit c325cba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ void refreshViews() {
10001000
mContentDescriptionPhoneSignal = mContext.getString(
10011001
R.string.accessibility_airplane_mode);
10021002
mAirplaneIconId = R.drawable.stat_sys_signal_flightmode;
1003-
mDataTypeIconId = 0;
1003+
mPhoneSignalIconId = mDataSignalIconId = mDataTypeIconId = 0;
10041004

10051005
// combined values from connected wifi take precedence over airplane mode
10061006
if (mWifiConnected) {

0 commit comments

Comments
 (0)