Send device name on the socket

Make the server send the device name along with the width and height, so
that the client may use it as the window title.
This commit is contained in:
Romain Vimont
2017-12-12 15:06:49 +01:00
parent 9d141a7f50
commit 39fd6ce518
6 changed files with 42 additions and 20 deletions

View File

@@ -18,10 +18,10 @@ ANDROID_JAR := $(ANDROID_HOME)/platforms/android-26/android.jar
AIDL_SRC := android/view/IRotationWatcher.aidl
SRC := com/genymobile/scrcpy/ScrCpyServer.java \
com/genymobile/scrcpy/DesktopConnection.java \
com/genymobile/scrcpy/DeviceUtil.java \
com/genymobile/scrcpy/ScreenInfo.java \
com/genymobile/scrcpy/ScreenStreamer.java \
com/genymobile/scrcpy/ScreenStreamerSession.java \
com/genymobile/scrcpy/ScreenUtil.java \
JAR := scrcpy-server.jar
MAIN := com.genymobile.scrcpy.ScrCpyServer