commit | 1d716b293d0cadaf7e1beed89202871df01761b7 | [log] [tgz] |
---|---|---|
author | Will Brockman <brockman@google.com> | Tue Nov 26 10:10:07 2019 -0500 |
committer | Will Brockman <brockman@google.com> | Mon Dec 02 12:24:59 2019 -0500 |
tree | 359dae9bef45b40d8bd29f251dfb888f3fe5325f | |
parent | 3ef13e045cd317774cac78083b90100d29a4b41c [diff] |
De-contextify volume/Events MetricsLogger calls. A small cleanup - replace calls to MetricsLogger's deprecated static methods with calls to the member functions of the logger instance that the code was already constructing. This makes the Context argument of Events.writeEvent() unnecessary, so removed that as well. Test: atest SystemUITests Test: mp droid + manually verify MetricsLogger logging. Change-Id: I8ca380ca56f51c414c17858dfd5b932ba02d4df0