Do not show satellite messaging in sim settings if sms is not supported
Bug: 393181741 Test: 393186308 Flag: EXEMPT bugfix (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:d7769ad1805aaf53d22feeeca5d0b766bc202f54) Merged-In: I1cb1d22541ba68ce20a0fd9319ddb2d5fc5d6715 Change-Id: I1cb1d22541ba68ce20a0fd9319ddb2d5fc5d6715
This commit is contained in:
committed by
Android Build Coastguard Worker
parent
94cd5e3096
commit
6df5cb0bc4
@@ -95,7 +95,13 @@ public class SatelliteSettingPreferenceController extends
|
|||||||
return UNSUPPORTED_ON_DEVICE;
|
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
|
@Override
|
||||||
|
Reference in New Issue
Block a user