commit | a4c5578d1068d8e02d6c42761c2b292a53e395a7 | [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 | dceb9f442fb1f98e7063c088bd215faf2d94d92a | |
parent | 9bc2c514ff612b1127476c0df168fd337f1d9814 [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