diff --git a/shell/platform/android/io/flutter/embedding/android/FlutterView.java b/shell/platform/android/io/flutter/embedding/android/FlutterView.java index f5803eddcf28a..973d0a32eb968 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.Companion.getOrCreate((Activity) getContext()))); + WindowInfoTracker.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.