From e1a7190f5108bae9e837fe44145fe408cde72b9e Mon Sep 17 00:00:00 2001
From: Jeff Tinker <jtinker@google.com>
Date: Wed, 3 Jan 2018 12:54:55 -0800
Subject: [PATCH] Allow default drm hal to access allocator hal

This fixes failing vts drm tests

bug:67675811

Test:vts-tradefed run commandAndExit vts -m VtsHalDrmV1_0Target
Change-Id: I2f7e1c97e8c70fc312ca3c2c901f0a9607b05e83
---
 vendor/hal_drm_default.te | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/vendor/hal_drm_default.te b/vendor/hal_drm_default.te
index b79c3b580..0dac07596 100644
--- a/vendor/hal_drm_default.te
+++ b/vendor/hal_drm_default.te
@@ -6,3 +6,5 @@ init_daemon_domain(hal_drm_default)
 
 allow hal_drm_default mediacodec:fd use;
 allow hal_drm_default { appdomain -isolated_app }:fd use;
+
+allow hal_drm_default hal_allocator_server:fd use;
-- 
GitLab