Merge "Allow goldfish-setup to put the emulator in WiFi-only mode"

This commit is contained in:
Nick Kralevich 2015-05-19 00:23:43 +00:00 committed by Gerrit Code Review
commit c3b58d4a8f
3 changed files with 9 additions and 0 deletions

View file

@ -15,3 +15,10 @@ allow goldfish_setup self:udp_socket create_socket_perms;
# Set net.eth0.dns*, debug.sf.nobootanimation
set_prop(goldfish_setup, system_prop)
set_prop(goldfish_setup, debug_prop)
# Set ro.radio.noril
set_prop(goldfish_setup, radio_noril_prop)
# Stop ril-daemon service (by setting ctl.stop to ril-daemon, which
# transforms to a permission check on ctl.ril-daemon).
set_prop(goldfish_setup, ctl_rildaemon_prop)

View file

@ -1 +1,2 @@
type qemu_prop, property_type;
type radio_noril_prop, property_type;

View file

@ -1 +1,2 @@
qemu. u:object_r:qemu_prop:s0
radio.noril u:object_r:radio_noril_prop:s0