commit | 988527966ab51bed98a0dffe30960f999b841a19 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Thu Oct 12 11:35:14 2017 -0700 |
committer | Yifan Hong <elsk@google.com> | Mon Oct 16 11:28:41 2017 -0700 |
tree | 692f0ca1e0f7c0df12d2e35e2648e7c3c663ff60 | |
parent | 990735ee4cceb941638cb19c3ae4781723c34d0d [diff] |
BatteryService: implement HealthServiceWrapper ... which is a wrapper for @2.0::IHealth service that refreshes the service if necessary. When new instances of IHealth are registered, this class redirects its proxy to the new service. Test: BatteryServiceTest Bug: 63702641 Change-Id: I22f2aa1eb7d48a05dec5a7c747dabd6f832078e8