am 8da1acf8: am c3b58d4a: Merge "Allow goldfish-setup to put the emulator in WiFi-only mode"

* commit '8da1acf8b702665ce7891799cdbc86499533cc54':
  Allow goldfish-setup to put the emulator in WiFi-only mode
This commit is contained in:
Nick Kralevich 2015-05-19 00:50:05 +00:00 committed by Android Git Automerger
commit e4ed2db2f5
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 net.eth0.dns*, debug.sf.nobootanimation
set_prop(goldfish_setup, system_prop) set_prop(goldfish_setup, system_prop)
set_prop(goldfish_setup, debug_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 qemu_prop, property_type;
type radio_noril_prop, property_type;

View File

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