From 205ec0443b2d9c93cf341119b8d58db56afbc713 Mon Sep 17 00:00:00 2001
From: Alex Klyubin <klyubin@google.com>
Date: Tue, 21 Feb 2017 11:09:38 -0800
Subject: [PATCH] Remove hal_impl_domain deprecation warning

This removes the compile-time deprecation warning about
hal_impl_domain macro. The warning was introduced in
86e87806f5777a7fc09ea962e694442297e4f8d6. We don't want to spam all
Android platform developers about something internal to the ongoing
SELinux policy restructuring.

Test: Policy compiles without any warnings
Test: Google Play Movies plays back movies (i.e., DRM HAL works)
Bug: 34170079
Change-Id: Icbd4d1283196f7ccc84c2a041c5601113d3c9f21
---
 public/te_macros | 1 -
 1 file changed, 1 deletion(-)

diff --git a/public/te_macros b/public/te_macros
index a98ba7ed1..5eca15a1f 100644
--- a/public/te_macros
+++ b/public/te_macros
@@ -164,7 +164,6 @@ typeattribute $1 bluetoothdomain;
 #   hal_impl_domain(hal_foo_default, hal_foo)
 #
 define(`hal_impl_domain', `
-print(`deprecated: hal_impl_domain($1, $2) Please use hal_server_domain($1, $2) instead.');
 typeattribute $1 halserverdomain;
 ifelse($2, `', `', `typeattribute $1 $2;')
 ')
-- 
GitLab