From 9ee993f60ef25149a239e1e1910b6c8d02f3484d Mon Sep 17 00:00:00 2001 From: bohu Date: Mon, 14 Sep 2015 16:02:43 -0700 Subject: emulator.mk: Add ethernet permission Networking on old emulator device(a.k.a. goldfish) relies on RIL; However, RIL is not available on ranchu device yet. For ranchu device to have a functional networking, we need to add ethernet permission and start dhcpcd_eth0 service on ranchu device. This CL adds ethernet permission to both goldfish (which is harmless) and ranchu devices. This addition was originally proposed by miroslav.tisma@imgtec.com and the ethernet permission was only added to arm64 and mips64 after discussion. With the ranchu device supporting more architectures, it makes sense to allow this permission on all devices and all CPU architectures. related CL by miroslav.tisma@imgtec.com on AOSP: b09fb84becf73bf2bc578ebf27910d75b79d668a bug: 24070972 Change-Id: I81ac5d8901adee43784fe9dd45a170fb90bb824a --- target/product/emulator.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'target') diff --git a/target/product/emulator.mk b/target/product/emulator.mk index 982f7da..7394d4f 100644 --- a/target/product/emulator.mk +++ b/target/product/emulator.mk @@ -50,6 +50,7 @@ PRODUCT_PACKAGES += \ sensors.ranchu PRODUCT_COPY_FILES += \ + frameworks/native/data/etc/android.hardware.ethernet.xml:system/etc/permissions/android.hardware.ethernet.xml \ device/generic/goldfish/fstab.goldfish:root/fstab.goldfish \ device/generic/goldfish/init.goldfish.rc:root/init.goldfish.rc \ device/generic/goldfish/init.goldfish.sh:system/etc/init.goldfish.sh \ -- cgit v1.1