Merge "[Settings] Make UI be able to update current status, after SIM absent." into sc-dev
This commit is contained in:
@@ -80,8 +80,7 @@ public class ProviderModelSliceHelper {
|
||||
public boolean hasCarrier() {
|
||||
if (isAirplaneModeEnabled()
|
||||
|| mSubscriptionManager == null || mTelephonyManager == null
|
||||
|| mSubscriptionManager.getDefaultDataSubscriptionId()
|
||||
== mSubscriptionManager.INVALID_SUBSCRIPTION_ID) {
|
||||
|| mSubscriptionManager.getActiveSubscriptionIdList().length <= 0) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user