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

Commit 42e37234 authored by sandeepjs's avatar sandeepjs Committed by Sandeep Jawalkar
Browse files

Removing the overwrite logic of sim slot length to mCi's length

This fix was added because of crash that can be seen if “config_num_physical_slots” is not configured properly,
Its the OEM responsibility to configure this property .

Test: b/398782613
Bug: b/396750634
Flag: EXEMPT bug fix
Change-Id: Ia0ce90e5914f30b6b88212e164a742417f39021f
parent 1e44ddd1
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -277,11 +277,6 @@ public class UiccController extends Handler {
        if (DBG) {
            logWithLocalLog("config_num_physical_slots = " + numPhysicalSlots);
        }
        // Minimum number of physical slot count should be equals to or greater than phone count,
        // if it is less than phone count use phone count as physical slot count.
        if (numPhysicalSlots < mCis.length) {
            numPhysicalSlots = mCis.length;
        }

        mTelephonyManager = mContext.getSystemService(TelephonyManager.class);