Merge "Revert "Need to check empty not null for String""
am: 8c64274ee6
Change-Id: I8645fc858e4c5c3d79df1bfc72a73c447d130c59
This commit is contained in:
@@ -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;
|
||||
@@ -1121,7 +1121,7 @@ public class SignalStrength implements Parcelable {
|
||||
public int getWcdmaLevel() {
|
||||
int level = SIGNAL_STRENGTH_NONE_OR_UNKNOWN;
|
||||
|
||||
if (TextUtils.isEmpty(mWcdmaDefaultSignalMeasurement)) {
|
||||
if (mWcdmaDefaultSignalMeasurement == null) {
|
||||
Log.wtf(LOG_TAG, "getWcdmaLevel - WCDMA default signal measurement is invalid.");
|
||||
return level;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user