Merge "Fix issue #9860494: Waiting for service batteryinfo..."
This commit is contained in:
commit
0fd3bf4652
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user