mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Use WindowInfoTracker.Companion.getOrCreate instead of the short version (flutter/engine#30012)
This commit is contained in:
parent
a1f57468fc
commit
f0d3d31b08
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user