universal7885: enable nfc for all a202f

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
roynatech2544 2021-12-10 15:23:50 +09:00
commit ba4f5671b1
No known key found for this signature in database
GPG key ID: 9675C32163D88D30
7 changed files with 3 additions and 10 deletions

View file

@ -50,9 +50,6 @@ BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
# Fingerprint
TARGET_SEC_FP_HAS_FINGERPRINT_GESTURES := true
# Include
TARGET_SPECIFIC_HEADER_PATH := $(COMMON_PATH)/include
# Init
TARGET_INIT_VENDOR_LIB := //$(COMMON_PATH):libinit_universal7885

View file

@ -87,7 +87,7 @@ void vendor_load_properties() {
model = GetProperty("ro.boot.em.model", "");
}
if (hasEnding(model, "N") || hasEnding(model, "S") || hasEnding(model, "K")) {
if (hasEnding(model, "N") || hasEnding(model, "S") || hasEnding(model, "K") || model == "SM-A202F") {
property_override("ro.boot.product.hardware.sku", "NFC");
}

View file

@ -225,7 +225,7 @@
# Thermal
/(vendor|system/vendor)/bin/hw/android\.hardware\.thermal@2\.0-service\.pixel u:object_r:hal_thermal_default_exec:s0
/dev/thermal/(/.*)? u:object_r:thermal_link_device:s0
/dev/thermal(/.*)? u:object_r:thermal_link_device:s0
/vendor/bin/thermal_symlinks u:object_r:init-thermal-symlinks-sh_exec:s0
# SamsungParts

View file

@ -8,3 +8,4 @@ allow init-thermal-symlinks-sh sysfs_thermal:dir r_dir_perms;
allow init-thermal-symlinks-sh sysfs_thermal:file r_file_perms;
allow init-thermal-symlinks-sh sysfs_thermal:lnk_file r_file_perms;
set_prop(init-thermal-symlinks-sh, vendor_thermal_prop)
allow init-thermal-symlinks-sh sysfs_virtual:dir search;

View file

@ -30,11 +30,6 @@ PRODUCT_PACKAGES += \
libtinycompress \
audio.hearing_aid.default
# Aptx
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/aptx/libaptX_encoder.so:$(TARGET_COPY_OUT_PRODUCT)/lib64/libaptX_encoder.so \
$(LOCAL_PATH)/aptx/libaptXHD_encoder.so:$(TARGET_COPY_OUT_PRODUCT)/lib64/libaptXHD_encoder.so
# Audio Configs
PRODUCT_COPY_FILES += \
frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_audio_policy_configuration.xml \