Skip to content
Commit 0f6c1bcb authored by tsaichristine's avatar tsaichristine
Browse files

StateTracker handles active state changes

When a state change occurs, metrics should only make certain updates if
the metric is active. This is already handled in CountMetricProducer and
DurationMetricProducer. In ValueMetricProducer, we will return
immediately if the metric is not active during a state change.

Test: m statsd_test && adb sync data && adb shell
data/nativetest/statsd_test/statsd_test
Bug: b/153101724

Change-Id: Ib2a96600a0f1acec054638515d606716cf0ca6b6
parent 12416fba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment