diff options
-rw-r--r-- | telephony/java/android/telephony/CarrierConfigManager.java | 10 | ||||
-rw-r--r-- | telephony/java/android/telephony/satellite/SatelliteCapabilities.java | 9 |
2 files changed, 19 insertions, 0 deletions
diff --git a/telephony/java/android/telephony/CarrierConfigManager.java b/telephony/java/android/telephony/CarrierConfigManager.java index 02999c81250a..6535b9b8e429 100644 --- a/telephony/java/android/telephony/CarrierConfigManager.java +++ b/telephony/java/android/telephony/CarrierConfigManager.java @@ -9856,6 +9856,16 @@ public class CarrierConfigManager { public static final String KEY_REMOVE_SATELLITE_PLMN_IN_MANUAL_NETWORK_SCAN_BOOL = "remove_satellite_plmn_in_manual_network_scan_bool"; + /** + * This value is used to set the max datagram size, if the value is not available then the + * default one will be used. + * If key is {@code true}, retrieve the max datagram value and use this value always, + * {@code false} the default value from the modem will be used. + * + * @hide + */ + public static final String KEY_SATELLITE_SOS_MAX_DATAGRAM_SIZE = + "satellite_sos_max_datagram_size"; /** @hide */ @IntDef({ diff --git a/telephony/java/android/telephony/satellite/SatelliteCapabilities.java b/telephony/java/android/telephony/satellite/SatelliteCapabilities.java index 0d8f10178971..f34522aedeac 100644 --- a/telephony/java/android/telephony/satellite/SatelliteCapabilities.java +++ b/telephony/java/android/telephony/satellite/SatelliteCapabilities.java @@ -200,6 +200,15 @@ public final class SatelliteCapabilities implements Parcelable { } /** + * Setting the maximum number of bytes per datagram that can be sent over satellite. + * + * @hide + */ + public void setMaxBytesPerOutgoingDatagram(int maxBytesPerOutgoingDatagram) { + mMaxBytesPerOutgoingDatagram = maxBytesPerOutgoingDatagram; + } + + /** * Antenna Position received from satellite modem which gives information about antenna * direction to be used with satellite communication and suggested device hold positions. * @return Map key: {@link SatelliteManager.DeviceHoldPosition} value: AntennaPosition |