Merge "Fix issue #9860494: Waiting for service batteryinfo..."

This commit is contained in:
Dianne Hackborn 2013-07-16 01:15:44 +00:00 committed by Android (Google) Code Review
commit 0fd3bf4652
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ namespace android {
BatteryService::BatteryService() {
const sp<IServiceManager> sm(defaultServiceManager());
if (sm != NULL) {
const String16 name("batteryinfo");
const String16 name("batterystats");
mBatteryStatService = sm->getService(name);
}
}