summaryrefslogtreecommitdiffstats
path: root/libmemtrack
diff options
context:
space:
mode:
authorChris Phoenix <cphoenix@google.com>2017-01-23 14:00:27 -0800
committerChris Phoenix <cphoenix@google.com>2017-01-23 14:00:27 -0800
commitbb1083ed6ccaf07906a67379498e668aa27d64eb (patch)
tree17ee30fd7198a87e4aa6e48d6ad55f410c4af523 /libmemtrack
parent778b8870dc0bcbdddfcbe778ce53bb21e10af2c6 (diff)
downloadsystem_core-bb1083ed6ccaf07906a67379498e668aa27d64eb.tar.gz
system_core-bb1083ed6ccaf07906a67379498e668aa27d64eb.tar.bz2
system_core-bb1083ed6ccaf07906a67379498e668aa27d64eb.zip
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
Diffstat (limited to 'libmemtrack')
-rw-r--r--libmemtrack/memtrack.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmemtrack/memtrack.cpp b/libmemtrack/memtrack.cpp
index 8adc8fca6..e83f18189 100644
--- a/libmemtrack/memtrack.cpp
+++ b/libmemtrack/memtrack.cpp
@@ -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");
}