Merge "extend app policy to fix wrapped processes"
diff --git a/app.te b/app.te
index 27ec14b..0c866c5 100644
--- a/app.te
+++ b/app.te
@@ -27,6 +27,11 @@
 # Notify zygote of death;
 allow appdomain zygote:process sigchld;
 
+# Notify zygote of the wrapped process PID when using --invoke-with.
+userdebug_or_eng(`
+  allow appdomain zygote:fifo_file write;
+')
+
 # Notify shell and adbd of death when spawned via runas for ndk-gdb.
 allow appdomain shell:process sigchld;
 allow appdomain adbd:process sigchld;