-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[camera_android] Provides a default exposure point if null. #3851
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
...src/test/java/io/flutter/plugins/camera/features/exposurepoint/ExposurePointFeatureTest.java
Outdated
Show resolved
Hide resolved
...oid/src/main/java/io/flutter/plugins/camera/features/exposurepoint/ExposurePointFeature.java
Show resolved
Hide resolved
...oid/src/main/java/io/flutter/plugins/camera/features/exposurepoint/ExposurePointFeature.java
Outdated
Show resolved
Hide resolved
# Conflicts: # packages/camera/camera_android/CHANGELOG.md # packages/camera/camera_android/pubspec.yaml
...oid/src/main/java/io/flutter/plugins/camera/features/exposurepoint/ExposurePointFeature.java
Outdated
Show resolved
Hide resolved
...oid/src/main/java/io/flutter/plugins/camera/features/exposurepoint/ExposurePointFeature.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking good! Just some nits, versioning comments, and a suggestion for the type of error to throw.
...src/test/java/io/flutter/plugins/camera/features/exposurepoint/ExposurePointFeatureTest.java
Outdated
Show resolved
Hide resolved
...oid/src/main/java/io/flutter/plugins/camera/features/exposurepoint/ExposurePointFeature.java
Outdated
Show resolved
Hide resolved
...oid/src/main/java/io/flutter/plugins/camera/features/exposurepoint/ExposurePointFeature.java
Outdated
Show resolved
Hide resolved
...oid/src/main/java/io/flutter/plugins/camera/features/exposurepoint/ExposurePointFeature.java
Outdated
Show resolved
Hide resolved
...src/test/java/io/flutter/plugins/camera/features/exposurepoint/ExposurePointFeatureTest.java
Outdated
Show resolved
Hide resolved
...src/test/java/io/flutter/plugins/camera/features/exposurepoint/ExposurePointFeatureTest.java
Show resolved
Hide resolved
...src/test/java/io/flutter/plugins/camera/features/exposurepoint/ExposurePointFeatureTest.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
flutter/packages@f4ae933...10aab44 2023-07-28 tarrinneal@gmail.com remove unneeded imports (flutter/packages#4579) 2023-07-27 43054281+camsim99@users.noreply.github.com [camerax] Wrap classes to implement resolution configuration for image capture, image analysis, and preview (flutter/packages#4523) 2023-07-27 50643541+Mairramer@users.noreply.github.com [camera_android] Provides a default exposure point if null. (flutter/packages#3851) 2023-07-27 engine-flutter-autoroll@skia.org Roll Flutter from 61fd11d to dd9764e (5 revisions) (flutter/packages#4577) 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,rmistry@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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
flutter/packages@f4ae933...10aab44 2023-07-28 tarrinneal@gmail.com remove unneeded imports (flutter/packages#4579) 2023-07-27 43054281+camsim99@users.noreply.github.com [camerax] Wrap classes to implement resolution configuration for image capture, image analysis, and preview (flutter/packages#4523) 2023-07-27 50643541+Mairramer@users.noreply.github.com [camera_android] Provides a default exposure point if null. (flutter/packages#3851) 2023-07-27 engine-flutter-autoroll@skia.org Roll Flutter from 61fd11d to dd9764e (5 revisions) (flutter/packages#4577) 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,rmistry@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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
flutter/packages@f4ae933...10aab44 2023-07-28 tarrinneal@gmail.com remove unneeded imports (flutter/packages#4579) 2023-07-27 43054281+camsim99@users.noreply.github.com [camerax] Wrap classes to implement resolution configuration for image capture, image analysis, and preview (flutter/packages#4523) 2023-07-27 50643541+Mairramer@users.noreply.github.com [camera_android] Provides a default exposure point if null. (flutter/packages#3851) 2023-07-27 engine-flutter-autoroll@skia.org Roll Flutter from 61fd11d to dd9764e (5 revisions) (flutter/packages#4577) 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,rmistry@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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Recently we had problems in our apps (they use the camera a lot), due to the error of [CONTROL_AE_REGIONS] being set to a null value.
It should now return the default exposure point value. Thanks https://github.com/AnggaSP
Fix attempt for flutter/flutter#105200
Pre-launch Checklist
dart format
.)[shared_preferences]
pubspec.yaml
with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.md
to add a description of the change, following repository CHANGELOG style.///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.