Initialize FakeContext first

This commit is contained in:
Romain Vimont 2023-11-03 11:51:32 +01:00
parent 65d6bdb237
commit 29c305ca5f

View file

@ -33,6 +33,7 @@ public final class Workarounds {
Workarounds.prepareMainLooper();
try {
fillActivityThread();
FakeContext.get();
} catch (Exception e) {
throw new AssertionError(e);
}