diff options
Diffstat (limited to 'gralloc4/service/aidl/service.cpp')
-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"); |