diff options
author | Charles Chen <liangyuchen@google.com> | 2023-03-17 20:33:39 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2023-03-17 20:33:39 +0000 |
commit | d3090bfff8dec9ceb7797ffa389a52a48cb1998d (patch) | |
tree | f2177ff96c07139617b0b720a280392c05dac0db | |
parent | 666345ee0b02e8c2b7edf59eee19318710f1ac6d (diff) | |
parent | d23664e4c6fe7e4df02a1fcf458900808c790a4c (diff) | |
download | gchips-d3090bfff8dec9ceb7797ffa389a52a48cb1998d.tar.gz |
Merge "API Feedback: rename AddServiceWithFlag with plurals (gralloc)" into udc-dev
-rw-r--r-- | gralloc4/service/aidl/service.cpp | 2 |
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"); |