| commit | 59890e2db9d7665615243af6048e0337934d303d | [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 | fcaef687010bc63293087c8232dad2cd0af02b5f [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