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

Commit 04eba18d authored by Sailesh Nepal's avatar Sailesh Nepal Committed by Android (Google) Code Review
Browse files

Merge "Remove Wi-Fi requirement for e911"

parents a7805a32 54163a1d
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -69,14 +69,6 @@ final class CreateConnectionTimeout extends PhoneStateListener implements Runnab
            return false;
        }

        // To reduce the number of scenarios where a timeout is needed, only use a timeout if
        // we're connected to Wi-Fi. This ensures that the fallback connection manager has an
        // alternate route to place the call. TODO: remove this condition or allow connection
        // managers to specify transports. See http://b/19199181.
        if (!isConnectedToWifi()) {
            return false;
        }

        Log.d(this, "isTimeoutNeededForCall, returning true");
        return true;
    }