Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: flutter/packages
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: fc00cebca28e
Choose a base ref
...
head repository: flutter/packages
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 92525f51fe4b
Choose a head ref
  • 2 commits
  • 43 files changed
  • 2 contributors

Commits on Jul 6, 2026

  1. [camera_android, camera_android_camerax, camera_avfoundation] Add set…

    …JpegImageQuality (#11616)
    
    Implements the `setJpegImageQuality` API (landed in the platform interface via #11454) across all camera platform implementation packages, allowing control of JPEG compression quality (1-100) for still image capture.
    
    This is the follow-up implementation PR as requested in #11155; it does not include `camera_platform_interface` changes. The app-facing `camera` package will be submitted in a separate PR after these implementation packages are published.
    
    Packages changed:
    - `camera_android`
    - `camera_android_camerax`
    - `camera_avfoundation`
    
    Part of flutter/flutter#183229
    
    ## Pre-Review Checklist
    
    [^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.
    Bolling88 authored Jul 6, 2026
    Configuration menu
    Copy the full SHA
    e0dc2c4 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2026

  1. [camera_android_camerax] Fix setFocusMode(auto) crash when there is n…

    …o auto-focus point (#11884)
    
    Adds the missing `isEmpty` guard to the `FocusMode.auto` branch of `AndroidCameraCameraX.setFocusMode`, which read `meteringPointsAf.first` unconditionally and threw `StateError: Bad state: No element` when the current focus-and-metering action had no auto-focus point. 
    
    The `FocusMode.locked` branch already guards this; the `auto` branch did not.
    
    Fixes flutter/flutter#187782
    
    ## 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.
    motucraft authored Jul 7, 2026
    Configuration menu
    Copy the full SHA
    92525f5 View commit details
    Browse the repository at this point in the history
Loading