Avoid bogus "No network connection" notice
This commit is contained in:
@ -601,6 +601,8 @@ class BaresipService: Service() {
|
||||
|
||||
hotSpotAddresses = Utils.hotSpotAddresses()
|
||||
linkAddresses = linkAddresses()
|
||||
if (linkAddresses.isEmpty())
|
||||
toast(getString(R.string.no_network), Toast.LENGTH_LONG)
|
||||
var addresses = ""
|
||||
for (la in linkAddresses)
|
||||
addresses = "$addresses;${la.key};${la.value}"
|
||||
@ -630,11 +632,6 @@ class BaresipService: Service() {
|
||||
|
||||
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)
|
||||
toast(getString(R.string.no_aec), Toast.LENGTH_LONG)
|
||||
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
- Do not create Mobile account if SIM is data-only
|
||||
- Improved Unique Contact URI help text
|
||||
- Avoid bogus "No network connection" notice
|
||||
- New translations (Chinese)
|
||||
|
||||
Reference in New Issue
Block a user