Do not print misleading debug messages in some scenarios. am: 05cca1a4cb am: d330f0ccc4
am: cc2b91697f Change-Id: I18d2899cf7ac747a1789e17a2b9786aa9c49c002
This commit is contained in:
@@ -175,7 +175,11 @@ public class NetworkIdentity implements Comparable<NetworkIdentity> {
|
|||||||
|
|
||||||
if (isNetworkTypeMobile(type)) {
|
if (isNetworkTypeMobile(type)) {
|
||||||
if (state.subscriberId == null) {
|
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;
|
subscriberId = state.subscriberId;
|
||||||
|
|||||||
Reference in New Issue
Block a user