summaryrefslogtreecommitdiffstats
path: root/telephony/java/com
diff options
context:
space:
mode:
authorShishir Agrawal <shishir@google.com>2014-12-10 10:20:39 -0800
committerCheuksan Wang <edwang@google.com>2015-03-30 14:11:07 -0700
commit0ced792cd69ff4e78b3ea84e6b38c1f1fddce82e (patch)
tree027d8312ab9711621d24cc68f9ef7c4631281e5c /telephony/java/com
parentcf9f5a16fb9daae3a18546d601da008df1cc63c6 (diff)
downloadframeworks_base-0ced792cd69ff4e78b3ea84e6b38c1f1fddce82e.zip
frameworks_base-0ced792cd69ff4e78b3ea84e6b38c1f1fddce82e.tar.gz
frameworks_base-0ced792cd69ff4e78b3ea84e6b38c1f1fddce82e.tar.bz2
Fail SmsManager requests if SubId is not active.
If subId is not active, expected subIds can be assigned to the messages being processed due to SmsManager calls. The change will fail any SmsManager calls if SubId is not active. Bug: 18629526 Change-Id: I8da1b1e2c477f32dcbaff417fc4e14ba2a225414
Diffstat (limited to 'telephony/java/com')
-rwxr-xr-xtelephony/java/com/android/internal/telephony/ISub.aidl1
1 files changed, 1 insertions, 0 deletions
diff --git a/telephony/java/com/android/internal/telephony/ISub.aidl b/telephony/java/com/android/internal/telephony/ISub.aidl
index acbc0aa..c12137d 100755
--- a/telephony/java/com/android/internal/telephony/ISub.aidl
+++ b/telephony/java/com/android/internal/telephony/ISub.aidl
@@ -171,4 +171,5 @@ interface ISub {
*/
int getSimStateForSubscriber(int subId);
+ boolean isActiveSubId(int subId);
}