commit | 2d418a2b5be1749933ede43afb83376fd04ca334 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Fri Nov 12 18:13:51 2021 -0800 |
committer | Yifan Hong <elsk@google.com> | Fri Nov 12 19:05:24 2021 -0800 |
tree | 326ed21b7c73e992f190ce9aed7c3fdc2d39b6e4 | |
parent | 701ff4a1dec173030eb96b5c3f2d15feac6f03d9 [diff] [blame] |
health: do not use default destructor. Otherwise, clients will need to know how to destroy LinkedCallback, a hidden class. Test: builds Bug: 177269435 Change-Id: I89532755da16b672c4cbece55b943306f68cdb9e
diff --git a/health/aidl/default/Health.cpp b/health/aidl/default/Health.cpp index 812e64a..e1d1982 100644 --- a/health/aidl/default/Health.cpp +++ b/health/aidl/default/Health.cpp
@@ -60,6 +60,8 @@ battery_monitor_.init(healthd_config_.get()); } +Health::~Health() {} + // // Getters. //