File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
packages/SystemUI/src/com/android/systemui/statusbar/policy Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ public class NetworkController extends BroadcastReceiver {
127127 private static final int INET_CONDITION_THRESHOLD = 50 ;
128128
129129 private boolean mAirplaneMode = false ;
130+ private boolean mLastAirplaneMode = true ;
130131
131132 // our ui
132133 Context mContext ;
@@ -1062,14 +1063,19 @@ else if (!mDataConnected && !mWifiConnected && !mBluetoothTethered && !mWimaxCon
10621063 || mLastDataDirectionOverlayIconId != combinedActivityIconId
10631064 || mLastWifiIconId != mWifiIconId
10641065 || mLastWimaxIconId != mWimaxIconId
1065- || mLastDataTypeIconId != mDataTypeIconId )
1066+ || mLastDataTypeIconId != mDataTypeIconId
1067+ || mLastAirplaneMode != mAirplaneMode )
10661068 {
10671069 // NB: the mLast*s will be updated later
10681070 for (SignalCluster cluster : mSignalClusters ) {
10691071 refreshSignalCluster (cluster );
10701072 }
10711073 }
10721074
1075+ if (mLastAirplaneMode != mAirplaneMode ) {
1076+ mLastAirplaneMode = mAirplaneMode ;
1077+ }
1078+
10731079 // the phone icon on phones
10741080 if (mLastPhoneSignalIconId != mPhoneSignalIconId ) {
10751081 mLastPhoneSignalIconId = mPhoneSignalIconId ;
You can’t perform that action at this time.
0 commit comments