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

Commit 4da8907f authored by Zhang Fang's avatar Zhang Fang Committed by Linux Build Service Account
Browse files

Telephony: Get SIM card capacity count of SMS

Add an API to get the capacity of stored SMS on ICC card

CRs-Fixed: 645022
Change-Id: I8064d694d35c4200074a24ee4159d09ecb2a779c
parent 407e8a9b
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -447,4 +447,12 @@ interface ISms {
    void sendStoredMultipartText(int subId, String callingPkg, in Uri messageUri,
                String scAddress, in List<PendingIntent> sentIntents,
                in List<PendingIntent> deliveryIntents);

    /**
     * Get the capacity count of sms on Icc card.
     *
     * @param subId for subId which getSmsCapacityOnIcc is queried.
     * @return capacity of ICC
     */
    int getSmsCapacityOnIccForSubscriber(int subId);
}