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

Commit a5776ed0 authored by Thomas Nguyen's avatar Thomas Nguyen
Browse files

Add an API to update satellite listening timeout duration

Bug: 276762737
Test: Call/SMS/MMS with live network.
atest android.telephony.satellite.cts.SatelliteManagerTestOnMockService
atest android.telephony.satellite.cts.SatelliteManagerTest

Change-Id: Ib7fd7ce4ea5b830ec602dba0b4514e9abd6fe014
parent 2592f714
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -2989,4 +2989,14 @@ interface ITelephony {
     * {@code false} otherwise.
     */
    boolean setSatelliteServicePackageName(in String servicePackageName);

    /**
     * This API can be used by only CTS to update the timeout duration in milliseconds that
     * satellite should stay at listening mode to wait for the next incoming page before disabling
     * listening mode.
     *
     * @param timeoutMillis The timeout duration in millisecond.
     * @return {@code true} if the timeout duration is set successfully, {@code false} otherwise.
     */
    boolean setSatelliteListeningTimeoutDuration(in long timeoutMillis);
}