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

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

Add an API in ITelephony to update satellite service package

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

Change-Id: Id77e409190082dbca3af147658ac395d9b591b88
parent c44e2244
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -2980,4 +2980,13 @@ interface ITelephony {
    @JavaPassthrough(annotation="@android.annotation.RequiresPermission("
            + "android.Manifest.permission.SATELLITE_COMMUNICATION)")
    void requestTimeForNextSatelliteVisibility(int subId, in ResultReceiver receiver);

    /**
     * This API can be used by only CTS to update satellite vendor service package name.
     *
     * @param servicePackageName The package name of the satellite vendor service.
     * @return {@code true} if the satellite vendor service is set successfully,
     * {@code false} otherwise.
     */
    boolean setSatelliteServicePackageName(in String servicePackageName);
}