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

This commit is contained in:
Treehugger Robot 2017-03-17 16:23:53 +00:00 committed by Gerrit Code Review
commit 406d3b6df1
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. # Write to /dev/ttyS2 and /dev/ttyGF2.
allow logpersist serial_device:chr_file { write open }; 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_prop, property_type;
type qemu_cmdline, property_type;
type radio_noril_prop, property_type; type radio_noril_prop, property_type;
type opengles_prop, property_type; type opengles_prop, property_type;

View File

@ -1,4 +1,5 @@
qemu. u:object_r:qemu_prop:s0 qemu. u:object_r:qemu_prop:s0
qemu.cmdline u:object_r:qemu_cmdline:s0
ro.emu. u:object_r:qemu_prop:s0 ro.emu. u:object_r:qemu_prop:s0
ro.emulator. u:object_r:qemu_prop:s0 ro.emulator. u:object_r:qemu_prop:s0
ro.radio.noril u:object_r:radio_noril_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, dalvik_prop)
set_prop(qemu_props, config_prop) set_prop(qemu_props, config_prop)
set_prop(qemu_props, opengles_prop) set_prop(qemu_props, opengles_prop)
set_prop(qemu_props, qemu_cmdline)