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

Commit f010a30b authored by Mengjun Leng's avatar Mengjun Leng Committed by Gerrit - the friendly Code Review server
Browse files

Telephony: Add AIDL interface for SMSC function

1. getSmscAddressFromIccForSubscriber
2. setSmscAddressToIccForSubscriber

Change-Id: Ic0ccd6cbb8084d35dab8a35b7b926845a7e63346
parent e174a94c
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -727,4 +727,21 @@ interface ISms {
     * @return capacity of ICC
     */
    int getSmsCapacityOnIccForSubscriber(long subId);

    /**
     * Get the SMSC from Icc card.
     *
     * @param subId for subId which getSmscAddressFromIccForSubscriber is queried.
     * @return SMSC of ICC
     */
    String getSmscAddressFromIccForSubscriber(long subId);

    /**
     * Set the SMSC to Icc card.
     *
     * @param subId for subId which setSmscAddressToIccForSubscriber is queried.
     * @param scAddress is the service center address
     * @return true if SMSC is set successfully, false otherwise
     */
    boolean setSmscAddressToIccForSubscriber(long subId, String scAdress);
}