commit | 9e6dbbdadf8de3bcc58a6c26784219217cd35b53 | [log] [tgz] |
---|---|---|
author | David Chen <dwchen@google.com> | Mon May 07 17:52:29 2018 -0700 |
committer | David Chen <dwchen@google.com> | Mon May 07 18:07:19 2018 -0700 |
tree | 19a27b3f7e37ef8bddb6eb17d871246a6d93075f | |
parent | efaec53af9722b5c3282f8f41f6e9aa764eb0b07 [diff] |
Fix statsd returning uidmap with empty reports. We notice devices uploading a bunch of bytes for the uidmap even if the device is running an empty config, so there are no actual metrics to report. This hardcodes some logic to skip the inclusion of the uidmap if there are exactly 0 metrics. Bug: 79381210 Test: Tested unit-tests on marlin-eng Change-Id: I96348235341a7faf15ff57d4d1eccac635a3a999