From 42e37234cee15c9f3fcfac0532110abfc8843b99 Mon Sep 17 00:00:00 2001 From: sandeepjs Date: Tue, 25 Feb 2025 18:32:02 +0000 Subject: Removing the overwrite logic of sim slot length to mCi's length MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/java/com/android/internal/telephony/uicc/UiccController.java | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src') diff --git a/src/java/com/android/internal/telephony/uicc/UiccController.java b/src/java/com/android/internal/telephony/uicc/UiccController.java index 9db25b6532..bc3a4d6202 100644 --- a/src/java/com/android/internal/telephony/uicc/UiccController.java +++ b/src/java/com/android/internal/telephony/uicc/UiccController.java @@ -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); -- cgit v1.2.3-59-g8ed1b