mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-04-11 14:21:49 +08:00
Apply workarounds in the cleanup process
Accessing settings may require workarounds on certain devices. Fixes #6405 <https://github.com/Genymobile/scrcpy/issues/6405>
This commit is contained in:
parent
e5e58b1b30
commit
9d7a4c88e0
@ -196,6 +196,7 @@ public final class CleanUp {
|
||||
|
||||
// Needed for workarounds
|
||||
prepareMainLooper();
|
||||
Workarounds.apply();
|
||||
|
||||
int displayId = Integer.parseInt(args[0]);
|
||||
int restoreStayOn = Integer.parseInt(args[1]);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user