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

* commit 'c3b58d4a8fd89df6122b7b2fdcd7975dc6e2c45b':
  Allow goldfish-setup to put the emulator in WiFi-only mode
This commit is contained in:
Nick Kralevich
2015-05-19 00:36:01 +00:00
committed by Android Git Automerger
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