From fe0eb0d93ec7ddac4b22d7f3f5c3b387c95154bd Mon Sep 17 00:00:00 2001 From: Emmanuel Garcia Date: Tue, 30 Nov 2021 16:20:20 -0800 Subject: [PATCH] Explicitly call WindowInfoTracker.Companion --- .../android/io/flutter/embedding/android/FlutterView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/platform/android/io/flutter/embedding/android/FlutterView.java b/shell/platform/android/io/flutter/embedding/android/FlutterView.java index 36a18ad226746..d3f2486668a46 100644 --- a/shell/platform/android/io/flutter/embedding/android/FlutterView.java +++ b/shell/platform/android/io/flutter/embedding/android/FlutterView.java @@ -455,7 +455,7 @@ protected WindowInfoRepositoryCallbackAdapterWrapper createWindowInfoRepo() { try { return new WindowInfoRepositoryCallbackAdapterWrapper( new WindowInfoTrackerCallbackAdapter( - WindowInfoTracker.getOrCreate((Activity) getContext()))); + WindowInfoTracker.Companion.getOrCreate((Activity) getContext()))); } catch (NoClassDefFoundError noClassDefFoundError) { // Testing environment uses gn/javac, which does not work with aar files. This is why aar // are converted to jar files, losing resources and other android-specific files.