Initialize FakeContext first
This commit is contained in:
parent
65d6bdb237
commit
29c305ca5f
@ -33,6 +33,7 @@ public final class Workarounds {
|
|||||||
Workarounds.prepareMainLooper();
|
Workarounds.prepareMainLooper();
|
||||||
try {
|
try {
|
||||||
fillActivityThread();
|
fillActivityThread();
|
||||||
|
FakeContext.get();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new AssertionError(e);
|
throw new AssertionError(e);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user