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:
@@ -1571,7 +1571,8 @@ public class RadioInfo extends Activity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static boolean isDsdsSupported() {
|
private static boolean isDsdsSupported() {
|
||||||
return TelephonyManager.getDefault().isMultisimSupported();
|
return (TelephonyManager.getDefault().isMultiSimSupported()
|
||||||
|
== TelephonyManager.MULTISIM_ALLOWED);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static boolean isDsdsEnabled() {
|
private static boolean isDsdsEnabled() {
|
||||||
|
Reference in New Issue
Block a user