Merge "Should return the number of supported SIM cards"

This commit is contained in:
Treehugger Robot
2019-03-13 21:18:57 +00:00
committed by Gerrit Code Review

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;
}