Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 542a0e36 authored by Arun Voddu's avatar Arun Voddu Committed by Android (Google) Code Review
Browse files

Merge "[Satellite] Reading the datagram value from carrierConfig." into main

parents e6634fe6 ee8579e2
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -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({
+9 −0
Original line number Diff line number Diff line
@@ -199,6 +199,15 @@ public final class SatelliteCapabilities implements Parcelable {
        return mMaxBytesPerOutgoingDatagram;
    }

    /**
     * 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.