From 1e62748b94b9f4808553b14a14d4a8f98a0ca7f3 Mon Sep 17 00:00:00 2001 From: Amit Mahajan Date: Wed, 28 Jan 2015 18:12:16 -0800 Subject: Adding new API to ISms to check if default SMS SIM needs to be chosen by user. Bug: 19112332 Change-Id: I7da30ebcebaf57f713acc6938626930dbc51d1f2 --- telephony/java/com/android/internal/telephony/ISms.aidl | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'telephony') diff --git a/telephony/java/com/android/internal/telephony/ISms.aidl b/telephony/java/com/android/internal/telephony/ISms.aidl index 6fdf121..70ac268 100644 --- a/telephony/java/com/android/internal/telephony/ISms.aidl +++ b/telephony/java/com/android/internal/telephony/ISms.aidl @@ -453,10 +453,6 @@ interface ISms { */ void setPremiumSmsPermission(String packageName, int permission); - /** - * Set the SMS send permission for the specified package. - * Requires system permission. - */ /** * Set the SMS send permission for the specified package. * Requires system permission. @@ -483,6 +479,14 @@ interface ISms { */ boolean isImsSmsSupportedForSubscriber(int subId); + /** + * User needs to pick SIM for SMS if multiple SIMs present and if current subId passed in is not + * active/valid. + * @param subId current subId for sending SMS + * @return true if SIM for SMS sending needs to be chosen + */ + boolean isSmsSimPickActivityNeeded(int subId); + /* * get user prefered SMS subId * @return subId id -- cgit v1.1