mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-23 12:35:33 -04:00
universal7885: enable nfc for all a202f
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
parent
3e8358f7a2
commit
ba4f5671b1
7 changed files with 3 additions and 10 deletions
|
|
@ -50,9 +50,6 @@ BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||||
# Fingerprint
|
# Fingerprint
|
||||||
TARGET_SEC_FP_HAS_FINGERPRINT_GESTURES := true
|
TARGET_SEC_FP_HAS_FINGERPRINT_GESTURES := true
|
||||||
|
|
||||||
# Include
|
|
||||||
TARGET_SPECIFIC_HEADER_PATH := $(COMMON_PATH)/include
|
|
||||||
|
|
||||||
# Init
|
# Init
|
||||||
TARGET_INIT_VENDOR_LIB := //$(COMMON_PATH):libinit_universal7885
|
TARGET_INIT_VENDOR_LIB := //$(COMMON_PATH):libinit_universal7885
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -87,7 +87,7 @@ void vendor_load_properties() {
|
||||||
model = GetProperty("ro.boot.em.model", "");
|
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");
|
property_override("ro.boot.product.hardware.sku", "NFC");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -225,7 +225,7 @@
|
||||||
|
|
||||||
# Thermal
|
# Thermal
|
||||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.thermal@2\.0-service\.pixel u:object_r:hal_thermal_default_exec:s0
|
/(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
|
/vendor/bin/thermal_symlinks u:object_r:init-thermal-symlinks-sh_exec:s0
|
||||||
|
|
||||||
# SamsungParts
|
# SamsungParts
|
||||||
|
|
|
||||||
|
|
@ -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:file r_file_perms;
|
||||||
allow init-thermal-symlinks-sh sysfs_thermal:lnk_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)
|
set_prop(init-thermal-symlinks-sh, vendor_thermal_prop)
|
||||||
|
allow init-thermal-symlinks-sh sysfs_virtual:dir search;
|
||||||
|
|
|
||||||
|
|
@ -30,11 +30,6 @@ PRODUCT_PACKAGES += \
|
||||||
libtinycompress \
|
libtinycompress \
|
||||||
audio.hearing_aid.default
|
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
|
# Audio Configs
|
||||||
PRODUCT_COPY_FILES += \
|
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 \
|
frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_audio_policy_configuration.xml \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue