Modified MultiSim APIs

Capitalize S in Multisim.
isMultiSimSupported should return three states, to describe the three possible cases
(hardware not supported, hardware supported but carrier restricted, available)

Bug: 128524079
Test: compilation
Change-Id: Ic52496e326d1398384e5fe22587a236e5352fc4f
This commit is contained in:
Michele
2019-03-19 15:53:45 -07:00
parent 2f8e02fdbe
commit 3dafea2641

View File

@@ -1571,7 +1571,8 @@ public class RadioInfo extends Activity {
}
private static boolean isDsdsSupported() {
return TelephonyManager.getDefault().isMultisimSupported();
return (TelephonyManager.getDefault().isMultiSimSupported()
== TelephonyManager.MULTISIM_ALLOWED);
}
private static boolean isDsdsEnabled() {