|
@@ -981,7 +981,7 @@ class MainActivity :BaseActivity<MainActivityPresenter, MainActivityLayoutBindin
|
|
val item = SosItem(addr, curTime)
|
|
val item = SosItem(addr, curTime)
|
|
sosList.add(item)
|
|
sosList.add(item)
|
|
startSosCall(addr)
|
|
startSosCall(addr)
|
|
- } else if (curTime - sosItem.time > 6000) {
|
|
|
|
|
|
+ } else if (curTime - sosItem.time > 3000) {
|
|
//Log.e("serialport", "sosclick 222222222: " + addr)
|
|
//Log.e("serialport", "sosclick 222222222: " + addr)
|
|
//该紧急按钮按下距上次已超10s,重新呼叫
|
|
//该紧急按钮按下距上次已超10s,重新呼叫
|
|
sosList.remove(sosItem)
|
|
sosList.remove(sosItem)
|