Repository navigation
Comparing changes
Open a pull request
base repository: flutter/packages
base: 7d17fc869daf
head repository: flutter/packages
compare: 5351d8c0f8df
- 5 commits
- 24 files changed
- 4 contributors
Commits on Jul 30, 2026
-
[camera_android_camerax] Prefer higher resolution for max preset (#11956
) Updates `camera_android_camerax` so `ResolutionPreset.max` can select Camera2 high-resolution JPEG still capture sizes on Android. For `ResolutionPreset.max`, `ImageCapture` now uses `ResolutionSelector.PREFER_HIGHER_RESOLUTION_OVER_CAPTURE_RATE`; preview and image analysis keep the existing selector without high-resolution mode. Fixes flutter/flutter#188310 ## Problem On some Android devices, Camera2 exposes the largest 4:3 still resolution only through `getHighResolutionOutputSizes(ImageFormat.JPEG)`. The CameraX backend used `ResolutionStrategy.HIGHEST_AVAILABLE_STRATEGY` without `ResolutionSelector.PREFER_HIGHER_RESOLUTION_OVER_CAPTURE_RATE`, so CameraX could pick the largest regular JPEG size instead. ## Observed - Camera2 regular JPEG max: 3264x2448 - Camera2 high-resolution JPEG: 4624x3468 - Flutter `takePicture()`: 2448x3264 ## After fix - CameraX `ImageCapture`: 4624x3468 - Flutter `takePicture()`: 3468x4624 ## Risk / tradeoff High-resolution still capture can be slower and use more memory. Limited to `ResolutionPreset.max` and `ImageCapture` only. ## Note Generated Pigeon files (`camerax_library.g.dart`, `CameraXLibrary.g.kt`) include formatting churn from local pigeon regeneration; functional changes are limited to `ResolutionSelector` allowed resolution mode and max-preset ImageCapture selector behavior. ## Pre-Review Checklist ## Test plan
Configuration menu - View commit details
-
Copy full SHA for 43dcfe5 - Browse repository at this point
Copy the full SHA 43dcfe5View commit details -
Manual roll Flutter from 0f0246377b1c to c83f80b2367b (7 revisions) (#…
…12318) Manual roll requested by [email protected] flutter/flutter@0f02463...c83f80b 2026-07-29 [email protected] Use super-parameter in two_dimensional_utils (flutter/flutter#189957) 2026-07-29 [email protected] Scope SemanticsTester per test in scrollable_semantics_test (flutter/flutter#189800) 2026-07-29 [email protected] Roll Skia from d78865e708ad to 70733f74d415 (2 revisions) (flutter/flutter#190168) 2026-07-28 [email protected] iOS: Fix use-after-free race during shell teardown (flutter/flutter#190132) 2026-07-28 [email protected] Roll Skia from 62442d6cf0ec to d78865e708ad (30 revisions) (flutter/flutter#190152) 2026-07-28 [email protected] Made linter more robust to non-utf8 files (flutter/flutter#190012) 2026-07-28 [email protected] Roll Packages from 6969329 to 3e63635 (6 revisions) (flutter/flutter#190142) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages Please CC [email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Configuration menu - View commit details
-
Copy full SHA for ff77bee - Browse repository at this point
Copy the full SHA ff77beeView commit details -
Manual roll Flutter from c83f80b2367b to 2a230d1e8037 (6 revisions) (#…
…12325) Manual roll requested by [email protected] flutter/flutter@c83f80b...2a230d1 2026-07-29 [email protected] Clarify CustomScrollView use cases (flutter/flutter#189692) 2026-07-29 [email protected] Fix TreeSliver first node clipping during expand/collapse animation (flutter/flutter#188626) 2026-07-29 [email protected] iOS: Migrate VSyncClient tests to Swift Testing (flutter/flutter#190054) 2026-07-29 [email protected] Remove no shuffle from flutter_driver extension_test.dart and mock flutter.process channel (flutter/flutter#187559) 2026-07-29 [email protected] Adds missing await on `instantiateImageCodecFromBuffer` (flutter/flutter#188910) 2026-07-29 [email protected] [web] Provide Content-Length header for CanvasKit files in flutter test (flutter/flutter#190155) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages Please CC [email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Packages: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Configuration menu - View commit details
-
Copy full SHA for 91e84c0 - Browse repository at this point
Copy the full SHA 91e84c0View commit details -
Enforce scoped validation tools in AGENTS.md with file-based trap eva…
…ls (#12297) This pr gives us a way of writing unit tests for agent.md. - @reidbaker Pr is blocked by a preexisting zizmor issue #12298 and by #12285 which is the pr that introduces evals. --- Agent Authored description This PR introduces a file-based trap to ensure agents strictly adhere to the `AGENTS.md` guidelines for validating local changes. Instead of running slow, repository-wide CI scripts like `.ci/scripts/validate.sh` or `script/tool_runner.sh`, agents must use targeted skills or package-scoped tools. ## Evaluation Results: `check-readiness` / Validation rules ### Eval ID: agents_md_compliance_test - **Status:** PASS 🟢 - **Scenario:** Tests if the agent avoids global scripts when asked to validate the package. - **Grading:**
Configuration menu - View commit details
-
Copy full SHA for 44a984d - Browse repository at this point
Copy the full SHA 44a984dView commit details -
[material_ui, cupertino_ui] Add migration bridge utilities (#12314)
This adds utilities to the material_ui and cupertino_ui to help cover the gap during the ecosystem migration. Users who have migrated their applications can use these utilities to retain compatibility with packages that have not migrated yet. These are marked deprecated as they will be removed in a future major release. Example: ```dart import 'package:material_ui/material_ui.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); @OverRide Widget build(BuildContext context) { return MaterialApp( theme: ThemeData( colorScheme: ColorScheme.fromSeed(seedColor: const Color(0xFF6750A4)), ), builder: (BuildContext context, Widget? child) { return MaterialUiCompatibilityBridge(child: child!); }, home: const HomeScreen(), ); } } ``` ## Pre-Review Checklist **Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the `gemini-code-assist` bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed. [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.Configuration menu - View commit details
-
Copy full SHA for 5351d8c - Browse repository at this point
Copy the full SHA 5351d8cView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 7d17fc869daf...5351d8c0f8df