Merge "Should return the number of supported SIM cards"

am: 09a4ee1988

Change-Id: Ia8d237fa510ca47c4fcd04a7d28812612e01d248
This commit is contained in:
Iris Chang
2019-03-13 14:57:06 -07:00
committed by android-build-merger

View File

@@ -5978,7 +5978,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;
}