This repository was archived by the owner on Feb 22, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +20
-2
lines changed
Expand file tree Collapse file tree 4 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 1+ ## NEXT
2+
3+ * Ignores missing return warnings in preparation for [ upcoming analysis changes] ( https://github.com/flutter/flutter/issues/105750 ) .
4+
15## 0.9.8+3
26
37* Skips duplicate calls to stop background thread and removes unnecessary closings of camera capture sessions on Android.
Original file line number Diff line number Diff line change @@ -138,7 +138,12 @@ class AndroidCamera extends CameraPlatform {
138138 'cameraId' : cameraId,
139139 'imageFormatGroup' : imageFormatGroup.name (),
140140 },
141- ).catchError (
141+ )
142+ // TODO(srawlins): This should return a value of the future's type. This
143+ // will fail upcoming analysis checks with
144+ // https://github.com/flutter/flutter/issues/105750.
145+ // ignore: body_might_complete_normally_catch_error
146+ .catchError (
142147 (Object error, StackTrace stackTrace) {
143148 if (error is ! PlatformException ) {
144149 throw error;
Original file line number Diff line number Diff line change 1+ ## NEXT
2+
3+ * Ignores missing return warnings in preparation for [ upcoming analysis changes] ( https://github.com/flutter/flutter/issues/105750 ) .
4+
15## 0.9.8+2
26
37* Fixes exception in registerWith caused by the switch to an in-package method channel.
Original file line number Diff line number Diff line change @@ -138,7 +138,12 @@ class AVFoundationCamera extends CameraPlatform {
138138 'cameraId' : cameraId,
139139 'imageFormatGroup' : imageFormatGroup.name (),
140140 },
141- ).catchError (
141+ )
142+ // TODO(srawlins): This should return a value of the future's type. This
143+ // will fail upcoming analysis checks with
144+ // https://github.com/flutter/flutter/issues/105750.
145+ // ignore: body_might_complete_normally_catch_error
146+ .catchError (
142147 (Object error, StackTrace stackTrace) {
143148 if (error is ! PlatformException ) {
144149 throw error;
You can’t perform that action at this time.
0 commit comments