Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CCA: Ensure the duration of capture metrics is integer
The value of a GA event is not allowed to be a floating number and the event will be unexpectedly dropped causing the incorrectresults of video capture metrics. See: https://support.google.com/analytics/answer/1033068 This CL ensures that eventValue is an integer if presents in GA event, and also returns integer when querying the duration from RecordTime. (cherry picked from commit 90a31eb) Bug: b:263926816 Test: Manually Change-Id: I3e5379d6efc12499f8955ded54697b20509ad0d6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4128178 Commit-Queue: Wei Lee <wtlee@chromium.org> Reviewed-by: Chu-Hsuan Yang <chuhsuan@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1087718} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4153730 Commit-Queue: Shik Chen <shik@chromium.org> Auto-Submit: Wei Lee <wtlee@chromium.org> Reviewed-by: Shik Chen <shik@chromium.org> Cr-Commit-Position: refs/branch-heads/5481@{#212} Cr-Branched-From: 130f3e4-refs/heads/main@{#1084008}
- Loading branch information