Merge "Do not show satellite messaging in sim settings if sms is not supported" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
b6a964815e
@@ -95,7 +95,13 @@ public class SatelliteSettingPreferenceController extends
|
||||
return UNSUPPORTED_ON_DEVICE;
|
||||
}
|
||||
|
||||
return mIsCarrierSatelliteAttachSupported ? AVAILABLE : CONDITIONALLY_UNAVAILABLE;
|
||||
int availabilityStatus = mIsCarrierSatelliteAttachSupported
|
||||
? AVAILABLE : CONDITIONALLY_UNAVAILABLE;
|
||||
if (availabilityStatus == AVAILABLE && mIsCarrierRoamingNtnConnectedTypeManual
|
||||
&& !mIsSatelliteSmsAvailableForManualType) {
|
||||
availabilityStatus = CONDITIONALLY_UNAVAILABLE;
|
||||
}
|
||||
return availabilityStatus;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user