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

Commit 0a0ba099 authored by Robert Greenwalt's avatar Robert Greenwalt
Browse files

Fix Emulator boot.

Catch a NPE that doesn't seem to happen on devices.

Change-Id: I47d599afbed76798d8d312a59e30b89664363e93
parent 506821b4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -205,8 +205,8 @@ public class MobileDataStateTracker implements NetworkStateTracker {

                                setDetailedState(DetailedState.DISCONNECTED, reason, apnName);
                                if (mNetworkProperties != null) {
                                    NetworkUtils.resetConnections(mNetworkProperties.getInterface().
                                            getName());
                                    String iface = mNetworkProperties.getInterfaceName();
                                    if (iface != null) NetworkUtils.resetConnections(iface);
                                }
                                // TODO - check this
                                // can't do this here - ConnectivityService needs it to clear stuff