[Settings] Add the CarrierNetworkChange case

Bug: 262927206
Test: atest SubscriptionsPreferenceControllerTest
Change-Id: If7eeb185224179d59ab841af0062ec5b98b956e9
This commit is contained in:
Zoey Chen
2023-02-06 20:02:29 +08:00
parent e5cebf9452
commit 69fe84219a
5 changed files with 61 additions and 46 deletions

View File

@@ -61,6 +61,7 @@ import java.util.stream.Collectors;
/**
* The helper is for slice of carrier and non-Carrier, used by ProviderModelSlice.
* TODO: Remove the class in U because Settings does not use slice anymore.
*/
public class ProviderModelSliceHelper {
private static final String TAG = "ProviderModelSlice";
@@ -140,7 +141,7 @@ public class ProviderModelSliceHelper {
numLevels += 1;
}
return MobileNetworkUtils.getSignalStrengthIcon(mContext, level, numLevels,
NO_CELL_DATA_TYPE_ICON, false);
NO_CELL_DATA_TYPE_ICON, false, false);
}
/**