commit | 6a1cf8405e7515eb230d24cceff82f17b1ae8e1b | [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 | 27ace463a7f50ba1a666dff74ee1b814f2d26d77 | |
parent | 346c9b569b8779b91a320824037379d37df2eea7 [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