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

Commit a4437fc9 authored by Mike Lockwood's avatar Mike Lockwood
Browse files

Fix null pointer exception in connectivity service broadcast receiver.



Change-Id: I80c7175ffd1a323a02201395ff6092e2ab0fdd1c
Signed-off-by: default avatarMike Lockwood <lockwood@android.com>
parent 0a05f5df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -431,7 +431,7 @@ public class Tethering extends INetworkManagementEventObserver.Stub {
                try {
                    NetworkInfo info = service.getNetworkInfo(ConnectivityManager.TYPE_MOBILE_DUN);
                    int msg;
                    if (info.isConnected() == true) {
                    if (info != null && info.isConnected() == true) {
                        msg = TetherMasterSM.CMD_CELL_DUN_ENABLED;
                    } else {
                        msg = TetherMasterSM.CMD_CELL_DUN_DISABLED;