diff options
author | tsaichristine <tsaichristine@google.com> | 2020-04-28 10:42:25 -0700 |
---|---|---|
committer | tsaichristine <tsaichristine@google.com> | 2020-05-28 11:11:53 -0700 |
commit | 0f6c1bcbc9a3310dbd8bce02951a7c38a1c3633e (patch) | |
tree | d9aa92b8e30a0dad9d8c43722d1992df7b5a4768 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 12416fba4a9f98d697a6dfb27a7da6bc58dc570d (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions