Display and control your Android device
Always print device model and version
Romain Vimont55808034066b
diff --git a/server/src/main/java/com/genymobile/scrcpy/Server.java b/server/src/main/java/com/genymobile/scrcpy/Server.javaindex a86b8130..a8e8e36a 100644--- a/server/src/main/java/com/genymobile/scrcpy/Server.java+++ b/server/src/main/java/com/genymobile/scrcpy/Server.java@@ -87,8 +87,6 @@ public final class Server {}private static void scrcpy(Options options) throws IOException, ConfigurationException {- Ln.i("Device: [" + Build.MANUFACTURER + "] " + Build.BRAND + " " + Build.MODEL + " (Android " + Build.VERSION.RELEASE + ")");-if (Build.VERSION.SDK_INT < Build.VERSION_CODES.S && options.getVideoSource() == VideoSource.CAMERA) {Ln.e("Camera mirroring is not supported before Android 12");throw new ConfigurationException("Camera mirroring is not supported");@@ -208,6 +206,8 @@ public final class Server {Ln.initLogLevel(options.getLogLevel());+ Ln.i("Device: [" + Build.MANUFACTURER + "] " + Build.BRAND + " " + Build.MODEL + " (Android " + Build.VERSION.RELEASE + ")");+if (options.getList()) {if (options.getCleanup()) {CleanUp.unlinkSelf();