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

Commit c7d2530d authored by Robert Greenwalt's avatar Robert Greenwalt
Browse files

Report NO_CONNECTIVITY when failover net unavail

Fix ConnectivityService so that it reports connection status correctly.

bug: 2128595
parent 0d51d635
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -809,6 +809,8 @@ public class ConnectivityService extends IConnectivityManager.Stub {
                    intent.putExtra(ConnectivityManager.
                            EXTRA_OTHER_NETWORK_INFO, switchTo);
                } else {
                    intent.putExtra(ConnectivityManager.EXTRA_NO_CONNECTIVITY,
                            true);
                    newNet.reconnect();
                }
            } else {