diff options
author | tsaichristine <tsaichristine@google.com> | 2020-06-03 08:59:56 -0700 |
---|---|---|
committer | tsaichristine <tsaichristine@google.com> | 2020-06-05 15:26:20 -0700 |
commit | 0893db53f5a9f1d30c54ed0fa58a960a465a1c9f (patch) | |
tree | 6afdeb42fde3c249e4714673175dcf4e44bebeb1 /wifi/java | |
parent | e30c1fe98b663619824d802fb9c308c579ebb4ad (diff) |
Set current state key earlier and do not reset hasCurrentState
- The current state key was updated to the new state key after the diff
calculations and base setting. There are a few cases where we exit the
current loop which results in the current state key not getting updated.
- When we reset the base, we should not reset the current state. All
instances where hasCurrentState was set to false have been removed.
- I added a unit test for a value metric that is sliced by state and has
a condition.
Bug: 157661456
Test: m statsd_test && adb sync data && adb shell
data/nativetest/statsd_test/statsd_test32
Change-Id: Ib75bd9d08e6785f9e03b4b5984dbdaf86a7e1749
Diffstat (limited to 'wifi/java')
0 files changed, 0 insertions, 0 deletions