Skip to content

Commit 24349b7

Browse files
Platform: use BoxStore.getContext().
1 parent aaedccc commit 24349b7

File tree

1 file changed

+1
-1
lines changed
  • objectbox-java/src/main/java/io/objectbox/sync/internal

1 file changed

+1
-1
lines changed

objectbox-java/src/main/java/io/objectbox/sync/internal/Platform.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class Platform {
1515

1616
public static Platform findPlatform() {
1717
// Android
18-
Object contextInstance = BoxStore.context;
18+
Object contextInstance = BoxStore.getContext();
1919
if (contextInstance != null) {
2020
Throwable throwable = null;
2121

0 commit comments

Comments
 (0)