fix thread blocking,add android service Looper,Handler

This commit is contained in:
csf
2022-04-17 23:29:27 +08:00
parent 51ad81e48f
commit a348ba3d7e
2 changed files with 10 additions and 1 deletions

View File

@@ -346,6 +346,7 @@ class ConnectionManager extends StatelessWidget {
icon: Icon(Icons.close),
onPressed: () {
FFI.setByName("close_conn", entry.key.toString());
FFI.invokeMethod("cancel_notification", entry.key);
},
label: Text(translate("Close")))
],