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

Commit e0417a93 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Dialer: Fix issue that display wrong IMEI for GSM phone."

parents ed7cd656 2421adf8
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -336,7 +336,8 @@ public class SpecialCharSequenceMgr {
            if (i != 0) {
            if (i != 0) {
                deviceIds.append("\n");
                deviceIds.append("\n");
            }
            }
            int phoneType = telephonyManager.getCurrentPhoneType(i);
            long[] subIds = SubscriptionManager.getSubId(i);
            int phoneType = telephonyManager.getCurrentPhoneType(subIds[0]);
            if (phoneType != TelephonyManager.PHONE_TYPE_GSM
            if (phoneType != TelephonyManager.PHONE_TYPE_GSM
                    && phoneType != TelephonyManager.PHONE_TYPE_CDMA) {
                    && phoneType != TelephonyManager.PHONE_TYPE_CDMA) {
                return false;
                return false;