diff --git a/Android.mk b/Android.mk index 17059a4..df66330 100755 --- a/Android.mk +++ b/Android.mk @@ -22,7 +22,7 @@ LOCAL_PATH := $(call my-dir) -ifeq ($(TARGET_DEVICE),mondrianwifi) +ifneq ($(filter mondrianwifi mondrianlte,$(TARGET_DEVICE)),) include $(call all-subdir-makefiles,$(LOCAL_PATH)) include $(CLEAR_VARS) diff --git a/device.mk b/device.mk index d6e00eb..89d27fd 100755 --- a/device.mk +++ b/device.mk @@ -31,11 +31,14 @@ TARGET_SCREEN_WIDTH := 2560 TARGET_SCREEN_HEIGHT := 1600 # Audio +ifeq ($(TARGET_PRODUCT),lineage_mondrianwifi) PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \ - $(LOCAL_PATH)/audio/audio_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info.xml \ $(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \ - $(LOCAL_PATH)/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml \ + $(LOCAL_PATH)/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml +endif +PRODUCT_COPY_FILES += \ + $(LOCAL_PATH)/audio/audio_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info.xml \ frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration_7_0.xml \ frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \ frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \ diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 0e02a3b..68d50f5 100755 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -887,12 +887,6 @@ service rmt_storage /vendor/bin/rmt_storage user root group system wakelock -service qmuxd /vendor/bin/qmuxd - class core - user radio - group radio audio bluetooth gps oem_2950 log - disabled - on property:sys.boot_completed=1 setprop sys.io.scheduler bfq diff --git a/system.prop b/system.prop index 74c77fc..061ab9e 100755 --- a/system.prop +++ b/system.prop @@ -78,9 +78,6 @@ ro.vendor.qti.am.reschedule_service=true # Perf ro.vendor.extension_library=/vendor/lib/libqti-perfd-client.so -# Radio -ro.radio.noril=yes - # Sensors debug.sensors=1