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

Commit 44619791 authored by Chaitanya Saggurthi's avatar Chaitanya Saggurthi Committed by Steve Kondik
Browse files

Telephony: Remove CDMA cellbroadcast API's

Remove CDMA cellbroadcast API's, handle CDMA cellbroadcast
 management based on phone type in IccSmsInterfaceManager
 to sync with AOSP.

Change-Id: I25b382d232799e964e8812de99c46e2dd372b20f
parent bcf3b863
Loading
Loading
Loading
Loading
+0 −53
Original line number Diff line number Diff line
@@ -203,31 +203,6 @@ interface ISms {
     */
    boolean disableCellBroadcast(int messageIdentifier);

    /**
     * Enable reception of cdma broadcast messages with the given
     * message identifier. Note that if two different clients enable the same
     * message identifier, they must both disable it for the device to stop
     * receiving those messages.
     *
     * @param messageIdentifier Message identifier as specified in C.R1001-G
     * @return true if successful, false otherwise
     * @see #disableCdmaBroadcast(int)
     */
       boolean enableCdmaBroadcast(int messageIdentifier);

    /**
     * Disable reception of cdma broadcast messages with the given
     * message identifier. Note that if two different clients enable the same
     * message identifier, they must both disable it for the device to stop
     * receiving those messages.
     *
     * @param messageIdentifier Message identifier as specified in C.R1001-G
     * @return true if successful, false otherwise
     *
     * @see #enableCdmaBroadcast(int)
     */
    boolean disableCdmaBroadcast(int messageIdentifier);

    /*
     * Enable reception of cell broadcast (SMS-CB) messages with the given
     * message identifier range. Note that if two different clients enable
@@ -260,34 +235,6 @@ interface ISms {
     */
    boolean disableCellBroadcastRange(int startMessageId, int endMessageId);

    /**
     * Enable reception of cdma broadcast messages with the given
     * message identifier range. Note that if two different clients enable
     * a message identifier range, they must both disable it for the device
     * to stop receiving those messages.
     *
     * @param startMessageId first message identifier as specified in C.R1001-G
     * @param endMessageId last message identifier as specified in C.R1001-G
     * @return true if successful, false otherwise
     *
     * @see #disableCdmaBroadcastRange(int, int)
     */
    boolean enableCdmaBroadcastRange(int startMessageId, int endMessageId);

    /**
     * Disable reception of cdma broadcast messages with the given
     * message identifier range. Note that if two different clients enable
     * a message identifier range, they must both disable it for the device
     * to stop receiving those messages.
     *
     * @param startMessageId first message identifier as specified in C.R1001-G
     * @param endMessageId last message identifier as specified in C.R1001-G
     * @return true if successful, false otherwise
     *
     * @see #enableCdmaBroadcastRange(int, int)
     */
    boolean disableCdmaBroadcastRange(int startMessageId, int endMessageId);

    /**
     * Returns the premium SMS send permission for the specified package.
     * Requires system permission.