[Satellite] Move entitlment check to auto type only.
Flag: EXEMPT bug fix Bug: b/401648126 Test: atest pass Change-Id: Ide6f8520b5e1e60f700586ef00970a4f55f5babe
This commit is contained in:
@@ -186,17 +186,17 @@ public class SatelliteSettingPreferenceController extends
|
||||
return;
|
||||
}
|
||||
|
||||
if (!mCarrierConfigs.getBoolean(KEY_SATELLITE_ENTITLEMENT_SUPPORTED_BOOL)) {
|
||||
preference.setSummary(R.string.satellite_setting_summary_without_entitlement);
|
||||
return;
|
||||
}
|
||||
|
||||
if (isCarrierRoamingNtnConnectedTypeManual()) {
|
||||
preference.setSummary(
|
||||
mCarrierRoamingNtnModeCallback.isSatelliteSmsAvailable()
|
||||
? R.string.satellite_setting_enabled_summary
|
||||
: R.string.satellite_setting_disabled_summary);
|
||||
} else {
|
||||
if (!mCarrierConfigs.getBoolean(KEY_SATELLITE_ENTITLEMENT_SUPPORTED_BOOL)) {
|
||||
preference.setSummary(R.string.satellite_setting_summary_without_entitlement);
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
Set<Integer> restrictionReason =
|
||||
mSatelliteManager.getAttachRestrictionReasonsForCarrier(mSubId);
|
||||
|
||||
Reference in New Issue
Block a user