SIGN IN SIGN UP

Report server connection state

We must distinguish 3 cases for await_for_server():
 - an error occurred
 - no error occurred, the device is connected
 - no error occurred, the device is not connected (user requested to
   quit)

For this purpose, use an additional output parameter to indicate if the
device is connected (only set when no error occurs).

Refs #3085 <https://github.com/Genymobile/scrcpy/pull/3085>
R
Romain Vimont committed
1f4c801f3c4b2b46d001f705abb921c3f3c8a212
Parent: 8d91cda