From f0d3d31b08fd9a07902402f0df3a7c60dddbd059 Mon Sep 17 00:00:00 2001 From: Emmanuel Garcia Date: Tue, 30 Nov 2021 17:24:01 -0800 Subject: [PATCH] Use WindowInfoTracker.Companion.getOrCreate instead of the short version (flutter/engine#30012) --- .../android/io/flutter/embedding/android/FlutterView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/shell/platform/android/io/flutter/embedding/android/FlutterView.java b/engine/src/flutter/shell/platform/android/io/flutter/embedding/android/FlutterView.java index 36a18ad2267..d3f2486668a 100644 --- a/engine/src/flutter/shell/platform/android/io/flutter/embedding/android/FlutterView.java +++ b/engine/src/flutter/shell/platform/android/io/flutter/embedding/android/FlutterView.java @@ -455,7 +455,7 @@ public class FlutterView extends FrameLayout implements MouseCursorPlugin.MouseC 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.