commit | 88768902b346f65537fa5d28407d330665b29186 | [log] [tgz] |
---|---|---|
author | Iris Chang <iris.chang@mediatek.com> | Wed Mar 13 15:08:01 2019 -0700 |
committer | android-build-merger <android-build-merger@google.com> | Wed Mar 13 15:08:01 2019 -0700 |
tree | 44cbbdc60f7ad8e66541cc4061929d56f319e200 | |
parent | c3557eb6397a6baed172f90fa59d22e4e848f8e7 [diff] | |
parent | 52688c33eeb7a6ac6fb4789afc556b3e3904c3dc [diff] |
Merge "Should return the number of supported SIM cards" am: 09a4ee1988 am: 52688c33ee Change-Id: I122d3f77a55ae27005531bfe490ad35213892b4f
diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index 069b6b09..ca11eb4 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java
@@ -5978,7 +5978,7 @@ // 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; }