mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-04-21 01:33:36 +00: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…
Add table
Add a link
Reference in a new issue