diff --git a/public/hal_allocator.te b/public/hal_allocator.te
index 646cebdebec48a251147e2e8d984b95102e70ccc..b7e3ca5a42c6accd34e84e3797f65e08d3a0e270 100644
--- a/public/hal_allocator.te
+++ b/public/hal_allocator.te
@@ -1,6 +1,5 @@
 # HwBinder IPC from client to server
 binder_call(hal_allocator_client, hal_allocator_server)
 
-add_hwservice(hal_allocator_server, hidl_allocator_hwservice)
-allow hal_allocator_client hidl_allocator_hwservice:hwservice_manager find;
+hal_attribute_hwservice(hal_allocator, hidl_allocator_hwservice)
 allow hal_allocator_client hidl_memory_hwservice:hwservice_manager find;