diff options
author | Shishir Agrawal <shishir@google.com> | 2014-12-10 10:20:39 -0800 |
---|---|---|
committer | Cheuksan Wang <edwang@google.com> | 2015-03-30 14:11:07 -0700 |
commit | 0ced792cd69ff4e78b3ea84e6b38c1f1fddce82e (patch) | |
tree | 027d8312ab9711621d24cc68f9ef7c4631281e5c /telephony/java/com | |
parent | cf9f5a16fb9daae3a18546d601da008df1cc63c6 (diff) | |
download | frameworks_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-x | telephony/java/com/android/internal/telephony/ISub.aidl | 1 |
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); } |