Skip to content

Conversation

@camsim99
Copy link
Contributor

@camsim99 camsim99 commented Sep 26, 2024

Changes assumption about camera preview being automatically corrected by CameraX on API <= 29 to API < 29 based on the fact that an ImageReader backs devices running API 29+, on which the camera preview will not automatically be corrected by CameraX.

Related to flutter/flutter#154241.

Pre-launch Checklist

@Dario-Maselli
Copy link

Tested this fix on Android (Huawei Y70, Samsung S22 ultra and Samsung S23+) -> Can confirm that this does in fact fix the orientation on Android.

Overrode the dependency, with these changes to determine before and after. 🔥

reidbaker and others added 2 commits September 30, 2024 11:18
…o/flutter/plugins/camerax/SystemServicesHostApiImpl.java

Co-authored-by: Navaron Bracke <brackenavaron@gmail.com>
…o/flutter/plugins/camerax/SystemServicesHostApiImpl.java

Co-authored-by: Navaron Bracke <brackenavaron@gmail.com>
…o/flutter/plugins/camerax/SystemServicesTest.java
@camsim99 camsim99 marked this pull request as ready for review October 1, 2024 14:10
@camsim99 camsim99 added the autosubmit Merge PR when tree becomes green via auto submit App label Oct 1, 2024
@auto-submit auto-submit bot merged commit ebcc4f0 into flutter:main Oct 1, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 1, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Oct 1, 2024
flutter/packages@27c9853...ebcc4f0

2024-10-01 43054281+camsim99@users.noreply.github.com [camerax] Correct assumption about preview being correctly rotated by default on API 29 (flutter/packages#7714)
2024-09-30 43759233+kenzieschmoll@users.noreply.github.com Replace `initialPage` parameter with `benchmarkPath` (flutter/packages#7743)
2024-09-30 49699333+dependabot[bot]@users.noreply.github.com [webview]: Bump androidx.webkit:webkit from 1.11.0 to 1.12.0 in /packages/webview_flutter/webview_flutter_android/android (flutter/packages#7681)
2024-09-30 49699333+dependabot[bot]@users.noreply.github.com [interactive_media_ads]: Bump com.google.ads.interactivemedia.v3:interactivemedia from 3.35.0 to 3.35.1 in /packages/interactive_media_ads/android (flutter/packages#7734)
2024-09-30 10687576+bparrishMines@users.noreply.github.com [interactive_media_ads] Change the location of where the AdsLoader is initialized (flutter/packages#7721)
2024-09-30 stuartmorgan@google.com [file_selector] Update Windows Pigeon for non-nullable generics (flutter/packages#7730)
2024-09-30 10687576+bparrishMines@users.noreply.github.com [interactive_media_ads] Adds internal wrapper for Android native `AdProgressInfo` (flutter/packages#7723)

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-flutter-autoroll
Please CC flutter-ecosystem@google.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App p: camera platform-android

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants