You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[camera_android] Provides a default exposure point if null. (flutter#3851)
Recently we had problems in our apps (they use the camera a lot), due to the error of [CONTROL_AE_REGIONS] being set to a null value.
It should now return the default exposure point value. Thanks https://github.com/AnggaSP
Fix attempt for flutter#105200
Copy file name to clipboardExpand all lines: packages/camera/camera_android/android/src/main/java/io/flutter/plugins/camera/features/exposurepoint/ExposurePointFeature.java
Copy file name to clipboardExpand all lines: packages/camera/camera_android/android/src/test/java/io/flutter/plugins/camera/features/exposurepoint/ExposurePointFeatureTest.java
+33-5Lines changed: 33 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@
9
9
importstaticorg.junit.Assert.assertNull;
10
10
importstaticorg.junit.Assert.assertTrue;
11
11
importstaticorg.mockito.ArgumentMatchers.any;
12
-
importstaticorg.mockito.ArgumentMatchers.isNull;
12
+
importstaticorg.mockito.ArgumentMatchers.eq;
13
13
importstaticorg.mockito.Mockito.mock;
14
14
importstaticorg.mockito.Mockito.never;
15
15
importstaticorg.mockito.Mockito.times;
@@ -281,7 +281,7 @@ public void updateBuilder_shouldSetMeteringRectangleWhenValidBoundariesAndCoords
0 commit comments