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

Commit d330f0cc 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

Change-Id: I792c8bb85abb4e7207631bd8cbdbcc1a7ae2eb54
parents b9b65370 bfd1d6ed
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;