- Notifications
You must be signed in to change notification settings - Fork9.7k
[camera] android-rework part 9: Final implementation of camera class#4059
Conversation
Co-authored-by: Andrew Coutts <andrewjohncoutts@gmail.com>
Co-authored-by: Andrew Coutts <andrewjohncoutts@gmail.com>
…s_resolution_sensor_features
…s_resolution_sensor_features
…roid/supporting_functionality
…ra-android/supporting_functionality
…nsor_features' into camera-android/supporting_functionality
stuartmorgan-g commentedAug 13, 2021
Is this ready for another review pass from@blasten ? |
packages/camera/camera/android/src/test/java/io/flutter/plugins/camera/CameraTest.java OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
blasten left a comment
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.
Thanks for cleaning it up.
Generally, LGTM
renfelo commentedAug 19, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Is there a way we could use these PR series before merge? I've been trying for a while, but no success. |
stuartmorgan-g commentedAug 19, 2021
@BeMacized Does this need anything else (other than the version conflict resolution, which we can trivially resolve at the point of landing) or is it good to go? |
BeMacized commentedAug 20, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@stuartmorgan It is pretty much complete other than the extra unit tests you requestedhere. I've since added tests that cover the majority of the camera class, but a few are left remaining as I have some trouble figuring out how to write them. Specifically |
BeMacized commentedAug 20, 2021
@renfelo You can add a temporary dependency on this PR for development as follows: dependencies:...camera:git:url:git://github.com/Baseflow/flutter-plugins.gitref:camera-android/final-rework-implementationpath:packages/camera/camera |
stuartmorgan-g commentedAug 20, 2021 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I'm comfortable with landing this as-is if you file an issue for the remaining tests and can commit to following up on them in the near future (and as long as you feel like you've done sufficient manual testing of those cases that there are no obvious regressions). Generally we don't like to do that, but there's no question that with the tests you've already added here (plus all the unit tests in the previous 8 PRs that this will cut us over to using) this PR will significantly increase our test coverage relative to the existing implementation. Given that, and the fact that we believe this PR puts us in a much better position to fix—with test coverage—any new issues that people find in real-world usage, I think the good of doing the remaining testing in parallel rather than before landing in this particular case outweighs the downsides. (edit: "as is" meaning without those additional tests; if there are other things you know of that the PR needs we should obviously do those things 🙂 ) |
BeMacized commentedAug 23, 2021
@stuartmorgan As far as I am aware, the remaining tests are all that still needs to happen, so if merging it as-is works for you, it works for me. I've filed an issue for them influtter/flutter#88685, so we should be good to go. |
stuartmorgan-g commentedAug 23, 2021
Alright, let's flip the switch and start getting more feedback :) |
stuartmorgan-g commentedAug 23, 2021
Once the post-submit publish step runs I'll let the front-line triage team know that this is out, so they can start re-testing Android camera issues. |
…lutter#4059)This PR adds the final implementation for the Camera class that incorporates all the features from previous parts.
…lutter#4059)This PR adds the final implementation for the Camera class that incorporates all the features from previous parts.
Uh oh!
There was an error while loading.Please reload this page.
This PR adds the final implementation for the Camera class that incorporates all the features from previous parts.
This is the final ninth PR in a series of pull-requests which will gradually introduce changes from PR#3651, making it easier to review the code (as discussed with@stuartmorgan).
As of right now, this PR will still be kept in draft mode, as it also contains changes it depends on from the previous parts. Once those have been merged and any changes from those have been merged back into this PR, the draft status will be removed.Pre-launch Checklist
dart format. See [plugin_tool format])[shared_preferences]///).