1. 29 Jan, 2024 1 commit
    • Zachary Anderson's avatar
      Update Android minSdkVersion to 21 (#142267) · 6a6874ec
      Zachary Anderson authored
      This PR increases Android's `minSdkVersion` to 21.
      
      There are two changes in this PR aside from simply increasing the number
      from 19 to 21 everywhere.
      
      First, tests using `flutter_gallery` fail without updating the
      lockfiles. The changes in the PR are the results of running
      `dev/tools/bin/generate_gradle_lockfiles.dart` on that app.
      
      Second, from
      [here](https://developer.android.com/build/multidex#mdex-pre-l):
      > if your minSdkVersion is 21 or higher, multidex is enabled by default
      and you don't need the multidex library.
      
      As a result, the `multidex` option everywhere is obsolete. This PR
      removes all logic and tests related to that option that I could find.
      `Google testing` and `customer_tests` pass on this PR, so it seems like
      this won't be too breaking if it is at all. If needed I'll give this
      some time to bake in the framework before landing the flutter/engine
      PRs.
      
      Context: https://github.com/flutter/flutter/issues/138117,
      https://github.com/flutter/flutter/issues/141277, b/319373605
      6a6874ec
  2. 07 Dec, 2023 1 commit
  3. 16 Nov, 2023 1 commit
  4. 09 Nov, 2023 1 commit
  5. 03 Nov, 2023 1 commit
  6. 02 Nov, 2023 1 commit
  7. 13 Sep, 2023 1 commit
  8. 29 Mar, 2023 1 commit
  9. 21 Mar, 2023 1 commit
  10. 29 Jul, 2022 1 commit
  11. 27 Jul, 2022 3 commits
  12. 26 Jul, 2022 2 commits
  13. 25 Jul, 2022 1 commit
  14. 13 Jun, 2022 1 commit
  15. 26 Mar, 2022 1 commit
  16. 18 Mar, 2022 1 commit
  17. 28 Feb, 2022 1 commit
  18. 24 Feb, 2022 1 commit
  19. 20 Nov, 2021 1 commit
  20. 07 Nov, 2021 1 commit
  21. 05 Nov, 2021 3 commits
  22. 15 Oct, 2021 1 commit
  23. 08 Oct, 2021 1 commit
    • Zachary Anderson's avatar
      Revert gradle roll (#91459) · 5188df08
      Zachary Anderson authored
      * Revert "Mark last failing test after gradle update as flaky. (#91423)"
      
      This reverts commit 46a52d03.
      
      * Revert "fix android template for Gradle 7 (#91411)"
      
      This reverts commit 51d06d53.
      
      * Revert "Add explicit version for mac and windows openjdk. (#91408)"
      
      This reverts commit bf429f27.
      
      * Revert "Update the openjdk version used by linux android tests. (#91405)"
      
      This reverts commit 2144ab8b.
      
      * Revert "Migrate to Gradle 7.0.2 / AGP 7.0.1 (#90642)"
      
      This reverts commit b6459f9b.
      5188df08
  24. 07 Oct, 2021 1 commit
  25. 28 Sep, 2021 1 commit
    • Greg Spencer's avatar
      Add smoke tests for all the examples, fix 17 broken examples. (#89021) · ab2b0851
      Greg Spencer authored
      This adds a smoke test for every single API example. It also fixes 17 tests that had bugs in them, or were otherwise broken, and even fixes one actual bug in the framework, and one limitation in the framework.
      
      The bug in the framework is that NetworkImage's _loadAsync method had await response.drain<List<int>>();, but if the response is null, it will throw a cryptic exception saying that Null can't be assigned to List<int>. The fix was just to use await response.drain<void>(); instead.
      
      The limitation is that RelativePositionedTransition takes an Animation<Rect> rect parameter, and if you want to use a RectTween with it, the value emitted there is Rect?, and one of the examples was just casting from Animation<Rect> to Animation<Rect?>, which is invalid, so I modified RelativePositionedTransition to take a Rect? and just use Rect.zero if the rect is null.
      ab2b0851
  26. 25 Aug, 2021 1 commit
    • Greg Spencer's avatar
      Extract Sample code into examples/api (#87280) · 33403bd2
      Greg Spencer authored
      This extracts the sample code out from the API doc comments, and places them in separate files on disk, allowing running of the examples locally, testing them, and building of slightly larger examples.
      33403bd2