
Relands https://github.com/flutter/flutter/pull/146181. Just 3 commits: 1. a revert of the revert 2. the fix described in https://github.com/flutter/flutter/pull/146181#issuecomment-2038238869 3. updating two postsubmit tests from Java 11 to 17, as that is required for this new AGP version. I've verified that `flutter build apk --flavor paid --debug` fails in `dev/integration_tests/flavors/` with the error in ci without (2), and succeeds with it. I've also verified that the `dev/benchmarks/complex_layout` app builds successfully with Java 17. That covers all the postsubmits that failed according [to the dashboard](https://flutter-dashboard.appspot.com/#/build).
Image List
An example that sets up a local HTTP server for serving one image then creates a single flutter widget with five copies of requested image and prints how long the loading took.
This is used in [$FH/flutter/devicelab/bin/tasks/image_list_reported_duration.dart] test.