summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Chen <liangyuchen@google.com>2023-03-15 01:23:43 +0000
committerCharles Chen <liangyuchen@google.com>2023-03-15 01:44:49 +0000
commitd23664e4c6fe7e4df02a1fcf458900808c790a4c (patch)
tree99c0da20124b418ff6453f8fdaab51852623bf47
parent27d7d807724d99d7825f209c7b8e12e9a1f1ad59 (diff)
API Feedback: rename AddServiceWithFlag with plurals (gralloc)
Refactor with better names. Bug: 272102518 Test: TH Change-Id: Ia19a65cfad16a15295d000d891d9f36ea432426b
-rw-r--r--gralloc4/service/aidl/service.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gralloc4/service/aidl/service.cpp b/gralloc4/service/aidl/service.cpp
index b6ccd44..515a31d 100644
--- a/gralloc4/service/aidl/service.cpp
+++ b/gralloc4/service/aidl/service.cpp
@@ -19,7 +19,7 @@ int main() {
AIBinder_setMinSchedulerPolicy(binder.get(), SCHED_NORMAL, -20);
const auto instance = std::string() + GrallocAllocator::descriptor + "/default";
- auto status = AServiceManager_addServiceWithFlag(binder.get(), instance.c_str(),
+ auto status = AServiceManager_addServiceWithFlags(binder.get(), instance.c_str(),
AServiceManager_AddServiceFlag::ADD_SERVICE_ALLOW_ISOLATED);
if (status != STATUS_OK) {
ALOGE("Failed to start AIDL gralloc allocator service");