diff options
author | Kazuhiro Ondo <kazuhiro.ondo@motorola.com> | 2011-06-20 21:46:21 -0500 |
---|---|---|
committer | Wink Saville <wink@google.com> | 2011-06-21 18:02:51 -0700 |
commit | 7c2d6fd60d5af00b0c4570bc86deda96de45c20d (patch) | |
tree | b3ddc2ce1c781341e21e394a334c8258fc5eba3c | |
parent | 885c3c11cf1e20c456ddf681a06a4a878426a632 (diff) | |
download | frameworks_base-7c2d6fd60d5af00b0c4570bc86deda96de45c20d.zip frameworks_base-7c2d6fd60d5af00b0c4570bc86deda96de45c20d.tar.gz frameworks_base-7c2d6fd60d5af00b0c4570bc86deda96de45c20d.tar.bz2 |
Return USIM IMSI as subscriber ID in case of CDMA-LTE mode
Bug: 4764057
Change-Id: I0c7d6e2af6a597d70d2024205d358e8b9c56b57b
-rw-r--r-- | telephony/java/com/android/internal/telephony/cdma/CDMALTEPhone.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/telephony/java/com/android/internal/telephony/cdma/CDMALTEPhone.java b/telephony/java/com/android/internal/telephony/cdma/CDMALTEPhone.java index 6a95b67..a31b704 100644 --- a/telephony/java/com/android/internal/telephony/cdma/CDMALTEPhone.java +++ b/telephony/java/com/android/internal/telephony/cdma/CDMALTEPhone.java @@ -129,6 +129,12 @@ public class CDMALTEPhone extends CDMAPhone { super.setSystemLocale(language, country, false); } + // return IMSI from USIM as subscriber ID. + @Override + public String getSubscriberId() { + return mIccRecords.getIMSI(); + } + @Override protected void log(String s) { if (DBG) |