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

Commit 1278cb5f authored by Zoey Chen's avatar Zoey Chen
Browse files

[Settings] Fix the error of checking the null point

Change-Id: Ied5d9d5268d9d6d83b2995ae0e56bf5f0276ad22
Test: manual
parent 9a8ebc69
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -965,7 +965,7 @@ public class MobileNetworkUtils {
     */
    public static CharSequence getPreferredStatus(boolean isRtlMode, Context context,
            boolean isPreferredCallStatus, List<SubscriptionInfoEntity> entityList) {
        if (entityList != null || !entityList.isEmpty()) {
        if (entityList != null && !entityList.isEmpty()) {
            final StringBuilder summary = new StringBuilder();
            for (SubscriptionInfoEntity subInfo : entityList) {
                int subsSize = entityList.size();