goldfish: logcat -Q in logd domain

Deal with a build failure in conflict with cl/152105

(cherrypicked from commit 1cc7735ffa)

Bug: 19608716
Change-Id: I1078046db3b159c1baf0a22435c3e777424453a1
This commit is contained in:
Mark Salyzyn 2015-06-03 07:50:31 -07:00 committed by Nick Kralevich
parent 60dd04ecfc
commit 94871b94ef
1 changed files with 4 additions and 5 deletions

View File

@ -1,10 +1,9 @@
# goldfish-logcat service: runs logcat -Q
type goldfish_logcat, domain;
# goldfish-logcat service: runs logcat -Q in logd domain
domain_auto_trans(init, logcat_exec, goldfish_logcat)
domain_auto_trans(init, logcat_exec, logd)
# Read from logd.
read_logd(goldfish_logcat)
read_logd(logd)
# Write to /dev/ttyS2 and /dev/ttyGF2.
allow goldfish_logcat serial_device:chr_file { write open };
allow logd serial_device:chr_file { write open };