mirror of
https://github.com/Genymobile/scrcpy.git
synced 2024-09-19 05:31:21 +02:00
Initialize FakeContext first
This commit is contained in:
parent
65d6bdb237
commit
29c305ca5f
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ public final class Workarounds {
|
|||
Workarounds.prepareMainLooper();
|
||||
try {
|
||||
fillActivityThread();
|
||||
FakeContext.get();
|
||||
} catch (Exception e) {
|
||||
throw new AssertionError(e);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue