summaryrefslogtreecommitdiffstats
path: root/telephony
diff options
context:
space:
mode:
authorAmit Mahajan <amitmahajan@google.com>2015-01-28 18:12:16 -0800
committerAmit Mahajan <amitmahajan@google.com>2015-01-28 18:15:56 -0800
commit1e62748b94b9f4808553b14a14d4a8f98a0ca7f3 (patch)
tree1c9339ceae56cb6c528fbd57189771ebc11a0455 /telephony
parent76ff4dd0de8d9747b9341f064dd270c5762705c6 (diff)
downloadframeworks_base-1e62748b94b9f4808553b14a14d4a8f98a0ca7f3.zip
frameworks_base-1e62748b94b9f4808553b14a14d4a8f98a0ca7f3.tar.gz
frameworks_base-1e62748b94b9f4808553b14a14d4a8f98a0ca7f3.tar.bz2
Adding new API to ISms to check if default SMS SIM needs to be chosen by
user. Bug: 19112332 Change-Id: I7da30ebcebaf57f713acc6938626930dbc51d1f2
Diffstat (limited to 'telephony')
-rw-r--r--telephony/java/com/android/internal/telephony/ISms.aidl12
1 files changed, 8 insertions, 4 deletions
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