Fix the printed versions (were opposite)
PR #1224 <https://github.com/Genymobile/scrcpy/pull/1224> Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
parent
600df37753
commit
a0af402d96
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ public final class Server {
|
||||||
String clientVersion = args[0];
|
String clientVersion = args[0];
|
||||||
if (!clientVersion.equals(BuildConfig.VERSION_NAME)) {
|
if (!clientVersion.equals(BuildConfig.VERSION_NAME)) {
|
||||||
throw new IllegalArgumentException(
|
throw new IllegalArgumentException(
|
||||||
"The server version (" + clientVersion + ") does not match the client " + "(" + BuildConfig.VERSION_NAME + ")");
|
"The server version (" + BuildConfig.VERSION_NAME + ") does not match the client " + "(" + clientVersion + ")");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (args.length != 9) {
|
if (args.length != 9) {
|
||||||
|
|
Loading…
Reference in a new issue