Log device BRAND

The BRAND value is not always the same as the MANUFACTURER value.
This commit is contained in:
Romain Vimont 2023-06-17 00:12:42 +02:00
parent 3b7e2ca9c8
commit 48a00fb481

View file

@ -87,7 +87,7 @@ public final class Server {
}
private static void scrcpy(Options options) throws IOException, ConfigurationException {
Ln.i("Device: " + Build.MANUFACTURER + " " + Build.MODEL + " (Android " + Build.VERSION.RELEASE + ")");
Ln.i("Device: [" + Build.MANUFACTURER + "] " + Build.BRAND + " " + Build.MODEL + " (Android " + Build.VERSION.RELEASE + ")");
final Device device = new Device(options);
Thread initThread = startInitThread(options);