* sabrina's droidlogic-res app + systemcontrol requires
NET_ADMIN.
Change-Id: I39a7475d9f2fb06b65f9c2adac89932d3afcc2d9
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/init-files/init.amlogic.sku.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.sku.rc \
$(LOCAL_PATH)/init-files/init.amlogic.wifi_buildin.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.amlogic.wifi_buildin.rc \
- $(LOCAL_PATH)/init-files/init.recovery.sabrina.rc:recovery/root/init.recovery.sabrina.rc
+ $(LOCAL_PATH)/init-files/init.recovery.sabrina.rc:recovery/root/init.recovery.sabrina.rc \
+ $(LOCAL_PATH)/init-files/systemcontrol_sabrina.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/systemcontrol_sabrina.rc
## Kernel Modules
PRODUCT_PACKAGES += \
--- /dev/null
+service system_control /vendor/bin/systemcontrol
+ override
+ user root
+ group system root media audio
+ interface vendor.amlogic.hardware.systemcontrol@1.0::ISystemControl default
+ interface vendor.amlogic.hardware.systemcontrol@1.1::ISystemControl default
+ capabilities NET_ADMIN