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

Commit e09f7b5e authored by Chen Xu's avatar Chen Xu Committed by Gerrit Code Review
Browse files

Merge "Need to check empty not null for String"

parents fccdf46a 77680bd4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -21,8 +21,8 @@ import android.os.Bundle;
import android.os.Parcel;
import android.os.Parcelable;
import android.telephony.CarrierConfigManager;
import android.text.TextUtils;
import android.util.Log;
import android.content.res.Resources;

import java.util.ArrayList;
import java.util.Arrays;
@@ -1116,7 +1116,7 @@ public class SignalStrength implements Parcelable {
    public int getWcdmaLevel() {
        int level = SIGNAL_STRENGTH_NONE_OR_UNKNOWN;

        if (mWcdmaDefaultSignalMeasurement == null) {
        if (TextUtils.isEmpty(mWcdmaDefaultSignalMeasurement)) {
            Log.wtf(LOG_TAG, "getWcdmaLevel - WCDMA default signal measurement is invalid.");
            return level;
        }