Loading packages/SettingsLib/src/com/android/settingslib/SignalIcon.java +0 −2 Original line number Diff line number Diff line Loading @@ -139,7 +139,6 @@ public class SignalIcon { public static class MobileIconGroup extends IconGroup { public final int dataContentDescription; // mContentDescriptionDataType public final int dataType; public final int qsDataType; public MobileIconGroup(String name, int[][] sbIcons, int[][] qsIcons, int[] contentDesc, int sbNullState, int qsNullState, int sbDiscState, int qsDiscState, Loading @@ -148,7 +147,6 @@ public class SignalIcon { qsDiscState, discContentDesc); this.dataContentDescription = dataContentDesc; this.dataType = dataType; this.qsDataType = dataType; // TODO: remove this field } } Loading packages/SystemUI/src/com/android/systemui/statusbar/policy/MobileSignalController.java +3 −3 Original line number Diff line number Diff line Loading @@ -399,7 +399,7 @@ public class MobileSignalController extends SignalController<MobileState, Mobile // Only send data sim callbacks to QS. if (mCurrentState.dataSim && mCurrentState.isDefault) { qsTypeIcon = (showDataIcon || mConfig.alwaysShowDataRatIcon) ? icons.qsDataType : 0; (showDataIcon || mConfig.alwaysShowDataRatIcon) ? icons.dataType : 0; qsIcon = new IconState(mCurrentState.enabled && !mCurrentState.isEmergency, getQsCurrentIconId(), contentDescription); description = mCurrentState.isEmergency ? null : mCurrentState.networkName; Loading Loading @@ -435,7 +435,7 @@ public class MobileSignalController extends SignalController<MobileState, Mobile if (mProviderModelSetting) { if (mCurrentState.dataSim && mCurrentState.isDefault) { qsTypeIcon = (showDataIcon || mConfig.alwaysShowDataRatIcon) ? icons.qsDataType : 0; (showDataIcon || mConfig.alwaysShowDataRatIcon) ? icons.dataType : 0; qsIcon = new IconState( mCurrentState.enabled && !mCurrentState.isEmergency, getQsCurrentIconId(), contentDescription); Loading @@ -444,7 +444,7 @@ public class MobileSignalController extends SignalController<MobileState, Mobile } else { if (mCurrentState.dataSim) { qsTypeIcon = (showDataIcon || mConfig.alwaysShowDataRatIcon) ? icons.qsDataType : 0; (showDataIcon || mConfig.alwaysShowDataRatIcon) ? icons.dataType : 0; qsIcon = new IconState( mCurrentState.enabled && !mCurrentState.isEmergency, getQsCurrentIconId(), contentDescription); Loading packages/SystemUI/src/com/android/systemui/statusbar/policy/WifiSignalController.java +1 −1 Original line number Diff line number Diff line Loading @@ -163,7 +163,7 @@ public class WifiSignalController extends int qsTypeIcon = 0; IconState qsIcon = null; if (sbVisible) { qsTypeIcon = icons.qsDataType; qsTypeIcon = icons.dataType; qsIcon = new IconState(mCurrentState.connected, getQsCurrentIconIdForCarrierWifi(), contentDescription); } Loading Loading
packages/SettingsLib/src/com/android/settingslib/SignalIcon.java +0 −2 Original line number Diff line number Diff line Loading @@ -139,7 +139,6 @@ public class SignalIcon { public static class MobileIconGroup extends IconGroup { public final int dataContentDescription; // mContentDescriptionDataType public final int dataType; public final int qsDataType; public MobileIconGroup(String name, int[][] sbIcons, int[][] qsIcons, int[] contentDesc, int sbNullState, int qsNullState, int sbDiscState, int qsDiscState, Loading @@ -148,7 +147,6 @@ public class SignalIcon { qsDiscState, discContentDesc); this.dataContentDescription = dataContentDesc; this.dataType = dataType; this.qsDataType = dataType; // TODO: remove this field } } Loading
packages/SystemUI/src/com/android/systemui/statusbar/policy/MobileSignalController.java +3 −3 Original line number Diff line number Diff line Loading @@ -399,7 +399,7 @@ public class MobileSignalController extends SignalController<MobileState, Mobile // Only send data sim callbacks to QS. if (mCurrentState.dataSim && mCurrentState.isDefault) { qsTypeIcon = (showDataIcon || mConfig.alwaysShowDataRatIcon) ? icons.qsDataType : 0; (showDataIcon || mConfig.alwaysShowDataRatIcon) ? icons.dataType : 0; qsIcon = new IconState(mCurrentState.enabled && !mCurrentState.isEmergency, getQsCurrentIconId(), contentDescription); description = mCurrentState.isEmergency ? null : mCurrentState.networkName; Loading Loading @@ -435,7 +435,7 @@ public class MobileSignalController extends SignalController<MobileState, Mobile if (mProviderModelSetting) { if (mCurrentState.dataSim && mCurrentState.isDefault) { qsTypeIcon = (showDataIcon || mConfig.alwaysShowDataRatIcon) ? icons.qsDataType : 0; (showDataIcon || mConfig.alwaysShowDataRatIcon) ? icons.dataType : 0; qsIcon = new IconState( mCurrentState.enabled && !mCurrentState.isEmergency, getQsCurrentIconId(), contentDescription); Loading @@ -444,7 +444,7 @@ public class MobileSignalController extends SignalController<MobileState, Mobile } else { if (mCurrentState.dataSim) { qsTypeIcon = (showDataIcon || mConfig.alwaysShowDataRatIcon) ? icons.qsDataType : 0; (showDataIcon || mConfig.alwaysShowDataRatIcon) ? icons.dataType : 0; qsIcon = new IconState( mCurrentState.enabled && !mCurrentState.isEmergency, getQsCurrentIconId(), contentDescription); Loading
packages/SystemUI/src/com/android/systemui/statusbar/policy/WifiSignalController.java +1 −1 Original line number Diff line number Diff line Loading @@ -163,7 +163,7 @@ public class WifiSignalController extends int qsTypeIcon = 0; IconState qsIcon = null; if (sbVisible) { qsTypeIcon = icons.qsDataType; qsTypeIcon = icons.dataType; qsIcon = new IconState(mCurrentState.connected, getQsCurrentIconIdForCarrierWifi(), contentDescription); } Loading