From 3365460658303a40adca6a13d18dbccd6158d60f Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Fri, 2 Feb 2018 14:57:33 +0100 Subject: [PATCH] Turn screen on on start When starting scrcpy, immediately turn the screen on. --- .../src/main/java/com/genymobile/scrcpy/EventController.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/src/main/java/com/genymobile/scrcpy/EventController.java b/server/src/main/java/com/genymobile/scrcpy/EventController.java index 32397f51..7e429393 100644 --- a/server/src/main/java/com/genymobile/scrcpy/EventController.java +++ b/server/src/main/java/com/genymobile/scrcpy/EventController.java @@ -32,6 +32,9 @@ public class EventController { inputManager = device.getInputManager(); powerManager = device.getPowerManager(); initPointer(); + + // on start, turn screen on + turnScreenOn(); } private void initPointer() {