Merge "SystemUI: Display RAT icon in quick setting when data is off"
This commit is contained in:
@@ -288,7 +288,7 @@ public class MobileSignalController extends SignalController<
|
||||
String description = null;
|
||||
// Only send data sim callbacks to QS.
|
||||
if (mCurrentState.dataSim) {
|
||||
qsTypeIcon = showDataIcon ? icons.mQsDataType : 0;
|
||||
qsTypeIcon = (showDataIcon || mConfig.alwaysShowDataRatIcon) ? icons.mQsDataType : 0;
|
||||
qsIcon = new IconState(mCurrentState.enabled
|
||||
&& !mCurrentState.isEmergency, getQsCurrentIconId(), contentDescription);
|
||||
description = mCurrentState.isEmergency ? null : mCurrentState.networkName;
|
||||
|
||||
Reference in New Issue
Block a user