|
@@ -240,7 +240,7 @@ class MainActivity() : BaseActivity<ActivityMainBinding>() {
|
|
|
*/
|
|
*/
|
|
|
private fun logout() {
|
|
private fun logout() {
|
|
|
viewModel.unregisterStatusListener()
|
|
viewModel.unregisterStatusListener()
|
|
|
- BleSendDispatcher.disconnectAll(60_000L)
|
|
|
|
|
|
|
+ BleSendDispatcher.disconnectAll()
|
|
|
viewModel.removeBleIndicate()
|
|
viewModel.removeBleIndicate()
|
|
|
startActivity(Intent(this, LoginActivity::class.java).apply {
|
|
startActivity(Intent(this, LoginActivity::class.java).apply {
|
|
|
flags = Intent.FLAG_ACTIVITY_NEW_TASK
|
|
flags = Intent.FLAG_ACTIVITY_NEW_TASK
|