memtrack HAL uses "default" service name
The getService() and registerAsService() methods of interface objects now have default parameters of "default" for the service name. HALs will not have to use any service name unless they want to register more than one service. Test: builds; verify HAL still works Bug: 33844934 Change-Id: I6cf3f24500228985ddf581ad5a98886585a3fcfe
This commit is contained in:
parent
778b8870dc
commit
bb1083ed6c
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ struct memtrack_proc {
|
|||
|
||||
//TODO(b/31632518)
|
||||
static android::sp<IMemtrack> get_instance() {
|
||||
static android::sp<IMemtrack> module = IMemtrack::getService("memtrack");
|
||||
static android::sp<IMemtrack> module = IMemtrack::getService();
|
||||
if (module == nullptr) {
|
||||
ALOGE("Couldn't load memtrack module");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue