Skip to content

Commit e3c9db6

Browse files
lukaskurzKyleFin
authored andcommitted
[image_picker][android] suppress unchecked warning (flutter#4408)
1 parent 0e96824 commit e3c9db6

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

packages/image_picker/image_picker/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.8.4+3
2+
3+
* Suppress a unchecked cast build warning.
4+
15
## 0.8.4+2
26

37
* Update minimum Flutter SDK to 2.5 and iOS deployment target to 9.0.

packages/image_picker/image_picker/android/src/main/java/io/flutter/plugins/imagepicker/ImagePickerDelegate.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ void saveStateBeforeResult() {
217217

218218
void retrieveLostImage(MethodChannel.Result result) {
219219
Map<String, Object> resultMap = cache.getCacheMap();
220+
@SuppressWarnings("unchecked")
220221
ArrayList<String> pathList = (ArrayList<String>) resultMap.get(cache.MAP_KEY_PATH_LIST);
221222
ArrayList<String> newPathList = new ArrayList<>();
222223
if (pathList != null) {

packages/image_picker/image_picker/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Flutter plugin for selecting images from the Android and iOS image
33
library, and taking new pictures with the camera.
44
repository: https://github.com/flutter/plugins/tree/master/packages/image_picker/image_picker
55
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+image_picker%22
6-
version: 0.8.4+2
6+
version: 0.8.4+3
77

88
environment:
99
sdk: ">=2.14.0 <3.0.0"

0 commit comments

Comments
 (0)