Merge "Emulator: Enable logcat -Q to run in emulator"

am: 406d3b6df1

Change-Id: I9f429980942e043ea874ad45bb88646d1c036f5b
This commit is contained in:
bohu 2017-03-17 16:30:33 +00:00 committed by android-build-merger
commit 5c8080cc18
4 changed files with 4 additions and 0 deletions

View File

@ -10,3 +10,4 @@ unix_socket_connect(logpersist, logdr, logd)
# Write to /dev/ttyS2 and /dev/ttyGF2.
allow logpersist serial_device:chr_file { write open };
get_prop(logpersist, qemu_cmdline)

View File

@ -1,3 +1,4 @@
type qemu_prop, property_type;
type qemu_cmdline, property_type;
type radio_noril_prop, property_type;
type opengles_prop, property_type;

View File

@ -1,4 +1,5 @@
qemu. u:object_r:qemu_prop:s0
qemu.cmdline u:object_r:qemu_cmdline:s0
ro.emu. u:object_r:qemu_prop:s0
ro.emulator. u:object_r:qemu_prop:s0
ro.radio.noril u:object_r:radio_noril_prop:s0

View File

@ -9,3 +9,4 @@ set_prop(qemu_props, qemu_prop)
set_prop(qemu_props, dalvik_prop)
set_prop(qemu_props, config_prop)
set_prop(qemu_props, opengles_prop)
set_prop(qemu_props, qemu_cmdline)