| commit | b17506a2d36fe8bdf2dd9e3082ffb9e1dc5230c8 | [log] [tgz] |
|---|---|---|
| author | Bertrand SIMONNET <bsimonnet@google.com> | Fri Oct 02 16:45:18 2015 -0700 |
| committer | Bertrand SIMONNET <bsimonnet@google.com> | Tue Oct 06 10:18:54 2015 -0700 |
| tree | 0149220d4ea44d9d360dd901d74f9cd6d5727edf | |
| parent | d6966ef606a4e50b28025a43afb04eecaa0db90c [diff] |
metricsd: Expose the metrics status through weave.
metrics_daemon will export _metrics._AnalyticsReportingState containing
"enabled"/"disabled" depending on the current state and two weave
commands (_metrics._{enable,disable}AnalyticsReporting) to update it.
BUG: 24386281
TEST: manual. Enabled and disabled metrics reporting.
`metrics_client -c` reports the correct answer.
Change-Id: Ic4a5ffc1e9f9cbc0b47ee34d3af83584d95da155