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

Commit 147a9813 authored by Zhang Fang's avatar Zhang Fang Committed by Gerrit - the friendly Code Review server
Browse files

Fix issue that display IMEI for CDMA sub in about phone.

For CDMA sub, displays IMEI in status interface.

Modified only display IMEI for GSM sub.

Change-Id: I21a5e5ce3025417b9b0ada5cf784e820620ca55a
CRs-Fixed: 768412
parent 95e6a94f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -408,15 +408,15 @@ public class MSimStatus extends PreferenceActivity {
                    if (mPhone[i].getLteOnCdmaMode() == PhoneConstants.LTE_ON_CDMA_TRUE) {
                        // Show ICC ID and IMEI for LTE device
                        mIccIdSummary[i] = getSimSummary(i, mPhone[i].getIccSerialNumber());
                        mImeiSummary[i] = getSimSummary(i, mPhone[i].getImei());
                    } else {
                        // device is not GSM/UMTS, do not display GSM/UMTS
                        // features
                        // check Null in case no specified preference in overlay
                        // xml
                        mIccIdSummary[i] = null;
                        mImeiSummary[i] = null;
                    }
                    // For cdma, do not display IMEI.
                    mImeiSummary[i] = null;

                } else {
                    mPrlVersionSummary[i] = null;