Turn screen on on start
When starting scrcpy, immediately turn the screen on.
This commit is contained in:
parent
a139509f11
commit
3365460658
1 changed files with 3 additions and 0 deletions
|
@ -32,6 +32,9 @@ public class EventController {
|
||||||
inputManager = device.getInputManager();
|
inputManager = device.getInputManager();
|
||||||
powerManager = device.getPowerManager();
|
powerManager = device.getPowerManager();
|
||||||
initPointer();
|
initPointer();
|
||||||
|
|
||||||
|
// on start, turn screen on
|
||||||
|
turnScreenOn();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void initPointer() {
|
private void initPointer() {
|
||||||
|
|
Loading…
Reference in a new issue