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