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

Commit b5b4c359 authored by Jack Yu's avatar Jack Yu Committed by android-build-merger
Browse files

Do not print misleading debug messages in some scenarios. am: bfd1d6ed am: d330f0cc

am: cc2b9169

Change-Id: I18d2899cf7ac747a1789e17a2b9786aa9c49c002
parents 87b4bf14 cc2b9169
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -175,7 +175,11 @@ public class NetworkIdentity implements Comparable<NetworkIdentity> {

        if (isNetworkTypeMobile(type)) {
            if (state.subscriberId == null) {
                Slog.w(TAG, "Active mobile network without subscriber!");
                if (state.networkInfo.getState() != NetworkInfo.State.DISCONNECTED &&
                        state.networkInfo.getState() != NetworkInfo.State.UNKNOWN) {
                    Slog.w(TAG, "Active mobile network without subscriber! ni = "
                            + state.networkInfo);
                }
            }

            subscriberId = state.subscriberId;