New issue
Advanced search Search tips

Issue 713417 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Support 'manual' (locked) Auto Exposure and Auto White Balance when available (API 23)

Project Member Reported by mcasas@chromium.org, Apr 19 2017

Issue description

Comment 1 by mcasas@chromium.org, Apr 19 2017

Cc: mcasas@chromium.org fbeaufort@chromium.org
Components: -Blink>Image Blink>ImageCapture
Actually the problem is that VideoCaptureCamera2.java has a 
@TargetApi(Build.VERSION_CODES.LOLLIPOP)

so it might be just a matter of upgrading this class.
Project Member

Comment 2 by bugdroid1@chromium.org, Apr 25 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/3fba7f46f286f5573abdcdd792f10e47b4e54380

commit 3fba7f46f286f5573abdcdd792f10e47b4e54380
Author: mcasas <mcasas@chromium.org>
Date: Tue Apr 25 01:46:51 2017

Image Capture Android: bump class to API 23 (Marshmallow) to retrieve fixed-controls

Bump SDK to 23 (marshmallow) and use the changes to allow retrieving fixed
(exposure, white balance) controls

BUG= 713417 

Review-Url: https://codereview.chromium.org/2841543005
Cr-Commit-Position: refs/heads/master@{#466864}

[modify] https://crrev.com/3fba7f46f286f5573abdcdd792f10e47b4e54380/media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera2.java

Comment 3 by mcasas@chromium.org, Apr 25 2017

Labels: Merge-Request-59

Comment 4 by mcasas@chromium.org, Apr 25 2017

Labels: -OS-Linux -Pri-3 -Hotlist-GoodFirstBug M-59 Pri-2
Project Member

Comment 5 by sheriffbot@chromium.org, Apr 25 2017

Labels: -Merge-Request-59 Hotlist-Merge-Approved Merge-Approved-59
Your change meets the bar and is auto-approved for M59. Please go ahead and merge the CL to branch 3071 manually. Please contact milestone owner if you have questions.
Owners: amineer@(Android), cmasso@(iOS), gkihumba@(ChromeOS), Abdul Syed@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 6 by bugdroid1@chromium.org, Apr 25 2017

Labels: -merge-approved-59 merge-merged-3071
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/b33b080af2167bda097dd47e520f2316e9ffbe5a

commit b33b080af2167bda097dd47e520f2316e9ffbe5a
Author: Miguel Casas-Sanchez <mcasas@chromium.org>
Date: Tue Apr 25 01:54:57 2017

Image Capture Android: bump class to API 23 (Marshmallow) to retrieve fixed-controls

Bump SDK to 23 (marshmallow) and use the changes to allow retrieving fixed
(exposure, white balance) controls

BUG= 713417 

Review-Url: https://codereview.chromium.org/2841543005
Cr-Commit-Position: refs/heads/master@{#466864}
(cherry picked from commit 3fba7f46f286f5573abdcdd792f10e47b4e54380)

Review-Url: https://codereview.chromium.org/2841773002 .
Cr-Commit-Position: refs/branch-heads/3071@{#190}
Cr-Branched-From: a106f0abbf69dad349d4aaf4bcc4f5d376dd2377-refs/heads/master@{#464641}

[modify] https://crrev.com/b33b080af2167bda097dd47e520f2316e9ffbe5a/media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera2.java

Comment 7 by mcasas@chromium.org, Apr 25 2017

Owner: mcasas@chromium.org
Status: Fixed (was: Available)
Status: Verified (was: Fixed)
Verified in Chromium 60.0.3081.0!
Works great ;) Thank you!

Comment 9 by mcasas@chromium.org, Apr 25 2017

Status: Started (was: Verified)
Oops, there's more to it.
Project Member

Comment 10 by bugdroid1@chromium.org, Apr 25 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/1a40ccb58c0b71b3cc5f1a0416d556982268fb6c

commit 1a40ccb58c0b71b3cc5f1a0416d556982268fb6c
Author: mcasas <mcasas@chromium.org>
Date: Tue Apr 25 21:48:41 2017

Image Capture: catch NoSuchFieldError if reading CONTROL_{AE,AWB}_LOCK_AVAILABLE where not available

This CL adds a catch-ignore NoSuchFieldError exception, this
is thrown reading the said fields in APIs >= 21 but < 23,
where the constants identifying the fields are not defined.

This is totally my bad: I thought unknown constants would return
false, but instead they throw an Exception, which causes a
crash, caught by fbeaufort@   :sweaty smile emoji:

BUG= 713417 

Review-Url: https://codereview.chromium.org/2844503002
Cr-Commit-Position: refs/heads/master@{#467127}

[modify] https://crrev.com/1a40ccb58c0b71b3cc5f1a0416d556982268fb6c/media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera2.java

Labels: -merge-merged-3071
Labels: merge-merged-3071
Labels: Merge-Request-59
Project Member

Comment 14 by sheriffbot@chromium.org, Apr 25 2017

Labels: -Merge-Request-59 Merge-Approved-59
Your change meets the bar and is auto-approved for M59. Please go ahead and merge the CL to branch 3071 manually. Please contact milestone owner if you have questions.
Owners: amineer@(Android), cmasso@(iOS), gkihumba@(ChromeOS), Abdul Syed@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 15 by bugdroid1@chromium.org, Apr 25 2017

Labels: -merge-approved-59
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/97d03db2f6dfed77629857607ac3634a86de9f34

commit 97d03db2f6dfed77629857607ac3634a86de9f34
Author: Miguel Casas-Sanchez <mcasas@chromium.org>
Date: Tue Apr 25 22:35:50 2017

Image Capture: catch NoSuchFieldError if reading CONTROL_{AE,AWB}_LOCK_AVAILABLE where not available

This CL adds a catch-ignore NoSuchFieldError exception, this
is thrown reading the said fields in APIs >= 21 but < 23,
where the constants identifying the fields are not defined.

This is totally my bad: I thought unknown constants would return
false, but instead they throw an Exception, which causes a
crash, caught by fbeaufort@   :sweaty smile emoji:

BUG= 713417 

Review-Url: https://codereview.chromium.org/2844503002
Cr-Commit-Position: refs/heads/master@{#467127}
(cherry picked from commit 1a40ccb58c0b71b3cc5f1a0416d556982268fb6c)

Review-Url: https://codereview.chromium.org/2835413004 .
Cr-Commit-Position: refs/branch-heads/3071@{#208}
Cr-Branched-From: a106f0abbf69dad349d4aaf4bcc4f5d376dd2377-refs/heads/master@{#464641}

[modify] https://crrev.com/97d03db2f6dfed77629857607ac3634a86de9f34/media/capture/video/android/java/src/org/chromium/media/VideoCaptureCamera2.java

Status: Fixed (was: Started)

Sign in to add a comment