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

Commit c7d7eafb authored by Wink Saville's avatar Wink Saville
Browse files

Add additional debug

When ConnectivityService#startUsingNetworkFeature is called and the
special network is not available output some additional information.

Change-Id: I34b226a208596fa6418f1f37a0feec1d274d493c
parent e575005f
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -992,11 +992,15 @@ private NetworkStateTracker makeWimaxStateTracker() {
                NetworkInfo ni = network.getNetworkInfo();

                if (ni.isAvailable() == false) {
                    if (DBG) log("special network not available");
                    if (!TextUtils.equals(feature,Phone.FEATURE_ENABLE_DUN_ALWAYS)) {
                        if (DBG) log("special network not available ni=" + ni.getTypeName());
                        return Phone.APN_TYPE_NOT_AVAILABLE;
                    } else {
                        // else make the attempt anyway - probably giving REQUEST_STARTED below
                        if (DBG) {
                            log("special network not available, but try anyway ni=" +
                                    ni.getTypeName());
                        }
                    }
                }