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

Commit 4c93d69d authored by Wink Saville's avatar Wink Saville Committed by Android (Google) Code Review
Browse files

Merge "Use TextUtils.isEmpty to simplify code."

parents 77df3e1a a0d71269
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));