Repository navigation
Commit 657c701
[camera_android_camerax] Bump cameraxVersion to 1.6.2, remove concurrent-futures workaround (flutter#12698)
Bumps `cameraxVersion` from 1.6.1 to 1.6.2. This release includes an upstream
fix (https://issuetracker.google.com/issues/543937345) removing the JSpecify
type-use annotation that required consumers to explicitly declare
`androidx.concurrent:concurrent-futures` on their compile classpath. With
1.6.2, that workaround (added in flutter#12373) is no longer needed, so this PR
removes the explicit dependency and its regression test.
Verified the fix is actually present in the published 1.6.2 artifact by
decompiling `SurfaceRequest.class` from `camera-core-1.6.2.aar` — the
`mSurfaceRecreationCompleter` field no longer carries the JSpecify
`@NonNull` type annotation that caused the original compile failure.
Fixes flutter/flutter#190505
## Pre-Review Checklist1 parent 048ffce commit 657c701
4 files changed
Lines changed: 9 additions & 38 deletions
File tree
- packages/camera/camera_android_camerax
- android
- src/test/java/io/flutter/plugins/camerax
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
1 | 8 | | |
2 | 9 | | |
3 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | 85 | | |
90 | 86 | | |
91 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments