File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -105,10 +105,10 @@ class WSAPeriodicConnector {
105105 if (output.contains (RegExp ('(^|\\ n)(localhost|127.0.0.1):${GState .androidPort .$}\\ s+' ))) {
106106 if (output.contains (RegExp ('(^|\\ n)(localhost|127.0.0.1):${GState .androidPort .$}\\ s+offline(\$ |\\ n|\\ s)' )))
107107 status = ConnectionStatus .OFFLINE ;
108- /* else if (output.contains(RegExp('(^|\\n)(localhost|127.0.0.1):${GState.androidPort.$}\\s+host(\$|\\n|\\s)'))) {
108+ else if (output.contains (RegExp ('(^|\\ n)(localhost|127.0.0.1):${GState .androidPort .$}\\ s+host(\$ |\\ n|\\ s)' ))) {
109109 await Process .run ('${Env .TOOLS_DIR }\\ adb.exe' , ['disconnect' , '127.0.0.1:${GState .androidPort .$}' ]);
110110 _tryConnect ();
111- }*/
111+ }
112112 else {
113113 status = ConnectionStatus .CONNECTED ;
114114 if (output.contains (RegExp ('(^|\\ n)127.0.0.1:${GState .androidPort .$}\\ s+' ))) {
You can’t perform that action at this time.
0 commit comments