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

Commit a0d71269 authored by Wink Saville's avatar Wink Saville
Browse files

Use TextUtils.isEmpty to simplify code.

Change-Id: I189c7c124419373c747c42504e656343728d0a15
parent a3326781
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -626,7 +626,7 @@ final class CdmaServiceStateTracker extends ServiceStateTracker {
        // mOperatorAlphaLong contains the ERI text
        String plmn = ss.getOperatorAlphaLong();
        if (!TextUtils.equals(plmn, curPlmn)) {
            boolean showPlmn = (plmn != null) && !TextUtils.equals(plmn, "");
            boolean showPlmn = !TextUtils.isEmpty(plmn);
            Log.d(LOG_TAG,
                    String.format("updateSpnDisplay: changed sending intent" +
                            " showPlmn='%b' plmn='%s'", showPlmn, plmn));