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

Commit 54163a1d authored by Sailesh Nepal's avatar Sailesh Nepal
Browse files

Remove Wi-Fi requirement for e911

Previously we required Wi-Fi connectivity before allowing
fallback to sim call managers for emergency calls.

This prevented scenarios like making e911 calls over LTE.
This CL removes the Wi-Fi connectivity requirement.

Bug: 19199181
Change-Id: I8fd05e88e3c02b90170b5809366b71627b2cfbd5
parent 5d28bc0e
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;
    }