commit | dc225c82248d7df6acb7cdd9f18866511351cb2c | [log] [tgz] |
---|---|---|
author | Bertrand SIMONNET <bsimonnet@google.com> | Thu Nov 12 14:04:03 2015 -0800 |
committer | Bertrand SIMONNET <bsimonnet@google.com> | Thu Nov 12 14:08:57 2015 -0800 |
tree | 0b6eb111cc718d48623e635dec218f7e7d9bb372 | |
parent | 8591f719d0c7f8db6bd5dc742e0d210afb12eb03 [diff] |
metricsd: Fix the update channel parsing logic. libupdate_engine_client returns the channel as "stable-channel", "dev-channel" or "beta-channel". This CL updates the parsing logic to match this format. Bug: 25669566 Test: unit tests Test: manual: The reported channel matches what update_engine_client --show_channel reports. Change-Id: Ic6e52df892ae0b438f58fc05b178d5844d6674d0