Skip to content
Commit e042980c authored by Dorah's avatar Dorah Committed by Chromium LUCI CQ
Browse files

camera: Change perfLogger to state.set()

For perf metrics, photo-capture-shutter, photo-capture-post-processing
and photo-taking are recorded in different modes. So sometimes
photo-taking event finishes when it didn't start. Since this is the
simple performance logging event, we can change it to state.set() and
check if photo-taking event started from state.get()

BUG=b:333303091
Test=tast run $DUT camera.CCAUITakePicture
tast run $DUT camera.CCAUITakePortraitMode
tast run $DUT camera.CCAUISound
tast run $DUT camera.CCAUIQRCode.lacros

Change-Id: I60f5ff2be75d0b4d1ec1a4cd379953a23ff8f3b0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5431780


Commit-Queue: Dorah Kim <dorahkim@google.com>
Reviewed-by: default avatarChu-Hsuan Yang <chuhsuan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1283800}
parent e4b0231a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment