Avoid bogus "No network connection" notice
This commit is contained in:
@ -601,6 +601,8 @@ class BaresipService: Service() {
|
|||||||
|
|
||||||
hotSpotAddresses = Utils.hotSpotAddresses()
|
hotSpotAddresses = Utils.hotSpotAddresses()
|
||||||
linkAddresses = linkAddresses()
|
linkAddresses = linkAddresses()
|
||||||
|
if (linkAddresses.isEmpty())
|
||||||
|
toast(getString(R.string.no_network), Toast.LENGTH_LONG)
|
||||||
var addresses = ""
|
var addresses = ""
|
||||||
for (la in linkAddresses)
|
for (la in linkAddresses)
|
||||||
addresses = "$addresses;${la.key};${la.value}"
|
addresses = "$addresses;${la.key};${la.value}"
|
||||||
@ -630,11 +632,6 @@ class BaresipService: Service() {
|
|||||||
|
|
||||||
Log.i(TAG, "AEC/AGC/NS available = $aecAvailable/$agcAvailable/$nsAvailable")
|
Log.i(TAG, "AEC/AGC/NS available = $aecAvailable/$agcAvailable/$nsAvailable")
|
||||||
|
|
||||||
isServiceRunning = true
|
|
||||||
|
|
||||||
if (linkAddresses.isEmpty())
|
|
||||||
toast(getString(R.string.no_network), Toast.LENGTH_LONG)
|
|
||||||
|
|
||||||
if (!aecAvailable)
|
if (!aecAvailable)
|
||||||
toast(getString(R.string.no_aec), Toast.LENGTH_LONG)
|
toast(getString(R.string.no_aec), Toast.LENGTH_LONG)
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
- Do not create Mobile account if SIM is data-only
|
- Do not create Mobile account if SIM is data-only
|
||||||
- Improved Unique Contact URI help text
|
- Improved Unique Contact URI help text
|
||||||
|
- Avoid bogus "No network connection" notice
|
||||||
- New translations (Chinese)
|
- New translations (Chinese)
|
||||||
|
|||||||
Reference in New Issue
Block a user