diff --git a/audio/acdbdata/workspaceFile.qwsp b/audio/acdbdata/workspaceFile.qwsp deleted file mode 100644 index 794cc7e..0000000 Binary files a/audio/acdbdata/workspaceFile.qwsp and /dev/null differ diff --git a/device-redfin.mk b/device-redfin.mk index 39c9fce..c506fc0 100644 --- a/device-redfin.mk +++ b/device-redfin.mk @@ -60,12 +60,6 @@ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/audio/acdbdata/Headset_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/Headset_cal.acdb \ $(LOCAL_PATH)/audio/acdbdata/Speaker_cal.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/Speaker_cal.acdb \ $(LOCAL_PATH)/audio/acdbdata/adsp_avs_config.acdb:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/adsp_avs_config.acdb - -# Audio ACDB workspace files for QACT -ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT))) -PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/audio/acdbdata/workspaceFile.qwsp:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/workspaceFile.qwsp -endif endif # CS35L41 B0 SPEAKER AMP @@ -95,10 +89,6 @@ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/audio/cs35l41/B2/cs35l41-revB2-dsp1-spk-prot.wmfw:$(TARGET_COPY_OUT_VENDOR)/firmware/cs35l41-revB2-dsp1-spk-prot.wmfw \ $(LOCAL_PATH)/audio/cs35l41/B2/R-cs35l41-revB2-dsp1-spk-prot.bin:$(TARGET_COPY_OUT_VENDOR)/firmware/R-cs35l41-revB2-dsp1-spk-prot.bin -# Audio CS35L41 speaker calibration tool -PRODUCT_PACKAGES_DEBUG += \ - crus_sp_cal - # Audio audiozoom config data PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/audio/audiozoom.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audiozoom.xml @@ -160,12 +150,6 @@ PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/thermal_info_config_$(PRODUCT_HARDWARE).json:$(TARGET_COPY_OUT_VENDOR)/etc/thermal_info_config.json -# Support to disable thermal protection at run time -ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT))) - PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/init.hardware.wlc.rc.userdebug:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.$(PRODUCT_PLATFORM).wlc.rc -endif - # GPS ANTENNA_INFO configuration file #PRODUCT_COPY_FILES += \ # $(LOCAL_PATH)/gnss_antenna_info.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gnss_antenna_info.conf diff --git a/init.hardware.wlc.rc.userdebug b/init.hardware.wlc.rc.userdebug deleted file mode 100644 index dee7b6b..0000000 --- a/init.hardware.wlc.rc.userdebug +++ /dev/null @@ -1,24 +0,0 @@ -# -# Copyright (C) 2018 The Android Open-Source Project -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -on property:sys.boot_completed=1 && property:persist.vendor.limit.wlc.current=1 - write /sys/class/power_supply/dc/current_max 75000 - -on property:sys.boot_completed=1 && property:persist.vendor.limit.wlc.current=0 - write /sys/class/power_supply/dc/current_max 1100000 - -on property:vendor.disable.wlc=1 - write /sys/class/power_supply/wireless/online 0