Log device details on server start

This commit is contained in:
Romain Vimont 2020-03-28 15:52:02 +01:00
parent e050cfdcd6
commit 4adf5fde6d

View file

@ -16,6 +16,7 @@ public final class Server {
}
private static void scrcpy(Options options) throws IOException {
Ln.i("Device: " + Build.MANUFACTURER + " " + Build.MODEL + " (Android " + Build.VERSION.RELEASE + ")");
final Device device = new Device(options);
boolean tunnelForward = options.isTunnelForward();
try (DesktopConnection connection = DesktopConnection.open(device, tunnelForward)) {