Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3dafea26 authored by Michele's avatar Michele
Browse files

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
parent 2f8e02fd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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() {