Skip to content

Commit

Permalink
Use WindowInfoTracker.Companion.getOrCreate instead of the short vers…
Browse files Browse the repository at this point in the history
…ion (flutter#30012)
  • Loading branch information
Emmanuel Garcia authored Dec 1, 2021
1 parent 9b200e1 commit fada035
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit fada035

Please sign in to comment.