From 2a73adc6b3ed0c024a2db718299246d2f6f83c68 Mon Sep 17 00:00:00 2001
From: Eino-Ville Talvala <etalvala@google.com>
Date: Sat, 25 Jun 2016 09:47:07 -0700
Subject: [PATCH] Fix build: Allow transitions from init domain to app_domain

Change-Id: I35c70e171e0bfbb28992845a4927b9a29b28f110
---
 domain.te | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/domain.te b/domain.te
index 332db9401..bd1681e78 100644
--- a/domain.te
+++ b/domain.te
@@ -484,7 +484,7 @@ neverallow {
 } shell:process { transition dyntransition };
 
 # Only domains spawned from zygote and runas may have the appdomain attribute.
-neverallow { domain -runas -zygote } {
+neverallow { domain -runas -zygote -init } {
   appdomain -shell userdebug_or_eng(`-su')
 }:process { transition dyntransition };
 
-- 
GitLab