summaryrefslogtreecommitdiffstats
path: root/healthd/BatteryPropertiesRegistrar.h
diff options
context:
space:
mode:
Diffstat (limited to 'healthd/BatteryPropertiesRegistrar.h')
-rw-r--r--healthd/BatteryPropertiesRegistrar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/healthd/BatteryPropertiesRegistrar.h b/healthd/BatteryPropertiesRegistrar.h
index d17e4a327..095f3d37c 100644
--- a/healthd/BatteryPropertiesRegistrar.h
+++ b/healthd/BatteryPropertiesRegistrar.h
@@ -31,7 +31,7 @@ class BatteryPropertiesRegistrar : public BnBatteryPropertiesRegistrar,
public IBinder::DeathRecipient {
public:
void publish(const sp<BatteryPropertiesRegistrar>& service);
- void notifyListeners(struct BatteryProperties props);
+ void notifyListeners(const struct BatteryProperties& props);
private:
Mutex mRegistrationLock;