mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-02-23 06:44:28 +01:00
Initialize FakeContext first
This commit is contained in:
@@ -33,6 +33,7 @@ public final class Workarounds {
|
||||
Workarounds.prepareMainLooper();
|
||||
try {
|
||||
fillActivityThread();
|
||||
FakeContext.get();
|
||||
} catch (Exception e) {
|
||||
throw new AssertionError(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user