Skip to content

Display and control your Android device

Rename ScrCpyServer to Server

Romain Vimont487cb10cf0d7
diff --git a/app/src/server.c b/app/src/server.c
index 18388a93..c1ffa1f4 100644
--- a/app/src/server.c
+++ b/app/src/server.c
@@ -50,7 +50,7 @@ static process_t execute_server(const char *serial, Uint16 max_size, Uint32 bit_
"CLASSPATH=/data/local/tmp/scrcpy-server.jar",
"app_process",
"/", // unused
- "com.genymobile.scrcpy.ScrCpyServer",
+ "com.genymobile.scrcpy.Server",
max_size_string,
bit_rate_string,
};
diff --git a/server/src/main/java/com/genymobile/scrcpy/ScrCpyServer.java b/server/src/main/java/com/genymobile/scrcpy/Server.java
similarity index 97%
rename from server/src/main/java/com/genymobile/scrcpy/ScrCpyServer.java
rename to server/src/main/java/com/genymobile/scrcpy/Server.java
index 1476d22f..5df436d1 100644
--- a/server/src/main/java/com/genymobile/scrcpy/ScrCpyServer.java
+++ b/server/src/main/java/com/genymobile/scrcpy/Server.java
@@ -2,9 +2,9 @@ package com.genymobile.scrcpy;
import java.io.IOException;
-public final class ScrCpyServer {
+public final class Server {
- private ScrCpyServer() {
+ private Server() {
// not instantiable
}