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

Commit d1c48cf2 authored by Sridhar Dubbaka's avatar Sridhar Dubbaka Committed by Linux Build Service Account
Browse files

MSIM: Sms prompt related API changes.

- Add APIs to get/set SMS prompt mode status

Change-Id: I7f06a1f45d59c617e07c1b142a11828f7cda944b
parent 9a4880bc
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -91,4 +91,22 @@ interface IExtTelephony {
     * Requires Permission: android.Manifest.permission.MODIFY_PHONE_STATE
     */
    int deactivateUiccCard(int slotId);

    /**
    * Check for Sms Prompt is Enabled or Not.
    * @return
    *        true - Sms Prompt is Enabled
    *        false - Sms prompt is Disabled
    * Requires Permission: android.Manifest.permission.READ_PHONE_STATE
    */
    boolean isSMSPromptEnabled();

    /**
    * Enable/Disable Sms prompt option.
    * @param - enabled
    *        true - to enable Sms prompt
    *        false - to disable Sms prompt
    * Requires Permission: android.Manifest.permission.MODIFY_PHONE_STATE
    */
    void setSMSPromptEnabled(boolean enabled);
}