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. 27 Jun, 2023 1 commit
    • Ben Konyi's avatar
      Reland "Fix issue where DevTools would not be immediately available when using... · 5ea2be69
      Ben Konyi authored
      Reland "Fix issue where DevTools would not be immediately available when using --start-paused (#126698)" (#129368)
      
      **Original Description:**
      
      > Service extensions are unable to handle requests when the isolate they
      were registered on is paused. The DevTools launcher logic was waiting
      for some service extension invocations to complete before advertising
      the already active DevTools instance, but when --start-paused was
      provided these requests would never complete, preventing users from
      using DevTools to resume the paused isolate.
      > 
      > Fixes https://github.com/flutter/flutter/issues/126691
      
      **Additional changes in this PR:**
      
      The failures listed in https://github.com/flutter/flutter/pull/128117
      appear to be related to a shutdown race. It's possible for the test to
      complete while the tool is in the process of starting and advertising
      DevTools, so we need to perform a check of `_shutdown` in
      `FlutterResidentDevtoolsHandler` before advertising DevTools.
      
      Before the original fix, this check was being performed immediately
      after invoking the service extensions, which creates an asynchronous gap
      in execution. With #126698, the callsite of the service extensions was
      moved and the `_shutdown` check wasn't, allowing for the tool to attempt
      to advertise DevTools after the DevTools server had been cleaned up.
      
      ---------
      Co-authored-by: 's avatarZachary Anderson <zanderso@users.noreply.github.com>
      5ea2be69
  3. 02 Jun, 2023 1 commit
    • Zachary Anderson's avatar
      Revert "Fix issue where DevTools would not be immediately available when using... · fdb71de7
      Zachary Anderson authored
      Revert "Fix issue where DevTools would not be immediately available when using --start-paused" (#128117)
      
      Reverts flutter/flutter#126698
      
      There are a bunch of tool crashes on CI that start with this commit. I'm
      not sure this PR is the cause because there is no backtrace from the
      tool on the crashes. The only error message is `Oops; flutter has exited
      unexpectedly: "Null check operator used on a null value`.
      fdb71de7
  4. 01 Jun, 2023 1 commit
  5. 11 May, 2023 1 commit
  6. 28 Feb, 2023 1 commit
  7. 27 Feb, 2023 2 commits
  8. 17 Feb, 2023 1 commit
  9. 13 Feb, 2023 1 commit
  10. 06 Feb, 2023 1 commit
  11. 01 Feb, 2023 1 commit
  12. 30 Jan, 2023 1 commit
  13. 27 Jan, 2023 1 commit
  14. 25 Jan, 2023 1 commit
  15. 24 Aug, 2022 1 commit
  16. 15 Jun, 2022 1 commit
  17. 03 Jun, 2022 1 commit
  18. 07 May, 2022 1 commit
  19. 02 Feb, 2022 1 commit
  20. 11 Nov, 2021 1 commit
  21. 02 Nov, 2021 1 commit
  22. 19 Oct, 2021 1 commit
  23. 23 Apr, 2021 1 commit
  24. 18 Apr, 2021 1 commit
  25. 17 Apr, 2021 1 commit
  26. 31 Mar, 2021 1 commit
  27. 30 Mar, 2021 1 commit
  28. 11 Feb, 2021 1 commit
  29. 09 Feb, 2021 1 commit
  30. 02 Feb, 2021 1 commit
  31. 27 Jan, 2021 1 commit
  32. 25 Jan, 2021 2 commits
  33. 21 Jan, 2021 1 commit
  34. 16 Jan, 2021 1 commit
  35. 13 Jan, 2021 3 commits
  36. 05 Dec, 2020 1 commit