mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-04-20 19:45:00 +00:00
Adapt to Device
being static now
This commit is contained in:
parent
bbc0ae27d5
commit
1ce9a82898
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ public final class CleanUp {
|
|||
}
|
||||
if (scheduleScreenOn) {
|
||||
Ln.i("Restoring \"displayPowerMode\"");
|
||||
new Device(new Options()).setScreenPowerMode(Device.POWER_MODE_NORMAL);
|
||||
Device.setScreenPowerMode(Device.POWER_MODE_NORMAL);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue