W /vendor/bin/hw/android.hardware.media.omx@1.0-service: Could not read additional policy file '/vendor/etc/seccomp_policy/mediacodec.policy'
Change-Id: Ica3c4105f67eb2ccc8af7554535beac66d7b2a65
# Recovery
TARGET_RECOVERY_FSTAB := $(LOCAL_PATH)/ramdisk/etc/fstab.samsungexynos8895
-# Seccomp filters
-BOARD_SECCOMP_POLICY += $(LOCAL_PATH)/seccomp
-
# Wifi
TARGET_USES_64_BIT_BCMDHD := true
BOARD_WLAN_DEVICE := bcmdhd
PRODUCT_PACKAGES += \
SamsungDoze
+# Seccomp filters
+PRODUCT_COPY_FILES += \
+ $(LOCAL_PATH)/seccomp/mediaextractor-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediaextractor.policy \
+ $(LOCAL_PATH)/seccomp/mediacodec-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy
+
# TextClassifier
PRODUCT_PACKAGES += \
textclassifier.bundle1