commit | 412b42b2e30dfb215a45dcb42b779581f07637d7 | [log] [tgz] |
---|---|---|
author | Steve Fung <stevefung@google.com> | Fri Mar 25 01:10:04 2016 -0700 |
committer | Steve Fung <stevefung@google.com> | Mon Mar 28 22:06:45 2016 +0000 |
tree | dfd47f44833245d204150636420e113b9fffa403 | |
parent | 220ff429629a25d15866564564ed095c891a93e7 [diff] |
metrics: Move opt in into send functions Refactored send_hits into metrics_util, and put the metrics opt-in check into the send library functions so that code can just send metrics without having to manually check it themselves. Also removed unused send_build.py script. Bug: 27527684 Bug: 27759379 Test: `python test_runner.py` passes Test: Removed brillo config.db file, verified commands prompt for metrics opt in Change-Id: Id9eeb08e01bf08ded65124375af2d2d3f91e0890