Log an error on unexpected device state

Refs #3129 <https://github.com/Genymobile/scrcpy/issues/3129>
pull/3140/head
Romain Vimont 2 years ago
parent 4ce7af42c6
commit e56f2ac7a9

@ -531,6 +531,8 @@ sc_adb_device_check_state(struct sc_adb_device *device,
LOGE("A popup should open on the device to request authorization.");
LOGE("Check the FAQ: "
"<https://github.com/Genymobile/scrcpy/blob/master/FAQ.md>");
} else {
LOGE("Device could not be connected (state=%s)", state);
}
return false;

Loading…
Cancel
Save