From a07818eba57ebdd3a11cd106c042b2636b98ecfb Mon Sep 17 00:00:00 2001 From: kubersharma001 Date: Sun, 3 Mar 2019 19:24:00 +0530 Subject: msm8996-common: remove useless NFC references * z2_plus/row do not support NFC so its useless to have these * fixes random log saying this device has no NFC Change-Id: Idc0d97b42dff1f826efb35808b3998f40be98a7b --- rootdir/etc/init.qcom.rc | 4 ---- rootdir/etc/ueventd.qcom.rc | 5 ----- sepolicy/vendor_init.te | 1 - 3 files changed, 10 deletions(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 5d1e1ae..fd63704 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -170,10 +170,6 @@ on post-fs-data chmod 2770 /data/vendor/perfd rm /data/vendor/perfd/default_values - # NFC local data and nfcee xml storage - mkdir /data/nfc 0770 nfc nfc - mkdir /data/nfc/param 0770 nfc nfc - # Create IOP deamon related dirs mkdir /data/vendor/iop 0770 root system diff --git a/rootdir/etc/ueventd.qcom.rc b/rootdir/etc/ueventd.qcom.rc index 477b19f..bbac4a5 100644 --- a/rootdir/etc/ueventd.qcom.rc +++ b/rootdir/etc/ueventd.qcom.rc @@ -269,11 +269,6 @@ firmware_directories /vendor/firmware_mnt/image/ /sys/bus/pci/drivers/wil6210* 0000:01:00.0/net/wigig0/gro_flush_timeout 0660 system system /sys/devices/virtual/net/bond0 queues/rx-0/rps_cpus 0660 system system -#nfc permissions -/dev/nfc-nci 0660 nfc nfc -/dev/nq-nci 0660 nfc nfc -/dev/assd 0660 nfc nfc - # UIO devices /dev/uio0 0660 system system /dev/uio1 0660 system system diff --git a/sepolicy/vendor_init.te b/sepolicy/vendor_init.te index 41916cf..a1d6300 100644 --- a/sepolicy/vendor_init.te +++ b/sepolicy/vendor_init.te @@ -5,7 +5,6 @@ allow vendor_init { cnd_data_file fpc_data_file media_rw_data_file - nfc_data_file rootfs system_data_file time_data_file -- cgit v1.2.3