Commit ebd0b8e 1 parent b761a3b commit ebd0b8e Copy full SHA for ebd0b8e
File tree 4 files changed +20
-2
lines changed
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
+
1
5
## 0.9.8+3
2
6
3
7
* 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 {
138
138
'cameraId' : cameraId,
139
139
'imageFormatGroup' : imageFormatGroup.name (),
140
140
},
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 (
142
147
(Object error, StackTrace stackTrace) {
143
148
if (error is ! PlatformException ) {
144
149
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
+
1
5
## 0.9.8+2
2
6
3
7
* 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 {
138
138
'cameraId' : cameraId,
139
139
'imageFormatGroup' : imageFormatGroup.name (),
140
140
},
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 (
142
147
(Object error, StackTrace stackTrace) {
143
148
if (error is ! PlatformException ) {
144
149
throw error;
You can’t perform that action at this time.
0 commit comments