diff options
| author | 2019-03-13 15:23:27 -0700 | |
|---|---|---|
| committer | 2019-03-13 15:23:27 -0700 | |
| commit | f0c8fcb53c307bd7a1ca8a7a3e4a607c22c5fd12 (patch) | |
| tree | 30101c14f3d5b4d321c148dcb2f5b9377b7ed2e7 | |
| parent | f5ba1c62681fcd5364b9ff9e95d98ff11d531963 (diff) | |
| parent | 88768902b346f65537fa5d28407d330665b29186 (diff) | |
Merge "Should return the number of supported SIM cards" am: 09a4ee1988 am: 52688c33ee
am: 88768902b3
Change-Id: Iaa5c55924d46726ed8df67828040431249883ae6
| -rw-r--r-- | telephony/java/android/telephony/TelephonyManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index 0c6bc4864877..f07ac5a4f0e1 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -6152,7 +6152,7 @@ public class TelephonyManager { // FIXME Need to get it from Telephony Dev Controller when that gets implemented! // and then this method shouldn't be used at all! if(isMultiSimEnabled()) { - return 2; + return getPhoneCount(); } else { return 1; } |