summaryrefslogtreecommitdiffstats
path: root/healthd/BatteryPropertiesRegistrar.cpp
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2013-10-22 17:50:59 -0700
committerTodd Poynor <toddpoynor@google.com>2013-10-22 17:50:59 -0700
commitf0e2ac26424da01f1a48eed1c343dfdafd338553 (patch)
treeda2f3d14bbe81e5275501db785e2bb5a3433faf1 /healthd/BatteryPropertiesRegistrar.cpp
parent020369d8724eff2b87350e54e157a609846166e4 (diff)
downloadsystem_core-f0e2ac26424da01f1a48eed1c343dfdafd338553.zip
system_core-f0e2ac26424da01f1a48eed1c343dfdafd338553.tar.gz
system_core-f0e2ac26424da01f1a48eed1c343dfdafd338553.tar.bz2
healthd: rename service batterypropreg => batteryproperties
Part 1 of 2 (to avoid transitory runtime crashes). Change-Id: I40d990ef7ee18cea99e5add39738bbe9fd5701ca
Diffstat (limited to 'healthd/BatteryPropertiesRegistrar.cpp')
-rw-r--r--healthd/BatteryPropertiesRegistrar.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/healthd/BatteryPropertiesRegistrar.cpp b/healthd/BatteryPropertiesRegistrar.cpp
index 7add9bc..52e6be0 100644
--- a/healthd/BatteryPropertiesRegistrar.cpp
+++ b/healthd/BatteryPropertiesRegistrar.cpp
@@ -32,6 +32,7 @@ namespace android {
void BatteryPropertiesRegistrar::publish() {
defaultServiceManager()->addService(String16("batterypropreg"), this);
+ defaultServiceManager()->addService(String16("batteryproperties"), this);
}
void BatteryPropertiesRegistrar::notifyListeners(struct BatteryProperties props) {