mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-22 13:46:26 -08:00
Revert "LG8n: Build and rename audio service HAL"
This reverts commit 09782b6996
.
This commit is contained in:
parent
9b8c48c59c
commit
c881be6cb5
|
@ -1,36 +0,0 @@
|
||||||
LOCAL_PATH := $(call my-dir)
|
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
|
||||||
LOCAL_MODULE := android.hardware.audio.service.mediatek.rc
|
|
||||||
LOCAL_MODULE_TAGS := optional
|
|
||||||
LOCAL_MODULE_CLASS := ETC
|
|
||||||
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init
|
|
||||||
LOCAL_SRC_FILES := $(LOCAL_MODULE)
|
|
||||||
include $(BUILD_PREBUILT)
|
|
||||||
|
|
||||||
LOCAL_PATH := hardware/interfaces/audio/common/all-versions/default/service
|
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
|
||||||
LOCAL_MODULE := android.hardware.audio.service.mediatek
|
|
||||||
LOCAL_REQUIRED_MODULES := android.hardware.audio.service.mediatek.rc
|
|
||||||
LOCAL_MODULE_RELATIVE_PATH := hw
|
|
||||||
LOCAL_VENDOR_MODULE := true
|
|
||||||
LOCAL_MULTILIB := 64
|
|
||||||
|
|
||||||
LOCAL_SRC_FILES := \
|
|
||||||
service.cpp
|
|
||||||
|
|
||||||
LOCAL_CFLAGS := \
|
|
||||||
-Wall \
|
|
||||||
-Wextra \
|
|
||||||
-Werror
|
|
||||||
|
|
||||||
LOCAL_SHARED_LIBRARIES := \
|
|
||||||
libcutils \
|
|
||||||
libbinder \
|
|
||||||
libhidlbase \
|
|
||||||
liblog \
|
|
||||||
libutils \
|
|
||||||
libhardware
|
|
||||||
|
|
||||||
include $(BUILD_EXECUTABLE)
|
|
|
@ -1,13 +0,0 @@
|
||||||
on post-fs-data
|
|
||||||
mkdir /data/vendor/audiohal 0771 system audio
|
|
||||||
mkdir /data/vendor/audiohal/audio_param 0771 system audio
|
|
||||||
|
|
||||||
service vendor.audio-hal /vendor/bin/hw/android.hardware.audio.service.mediatek
|
|
||||||
class hal
|
|
||||||
user audioserver
|
|
||||||
# media gid needed for /dev/fm (radio) and for /data/misc/media (tee)
|
|
||||||
group audio camera drmrpc inet media mediadrm net_bt net_bt_admin net_bw_acct wakelock context_hub system sdcard_rw
|
|
||||||
capabilities BLOCK_SUSPEND SYS_NICE
|
|
||||||
ioprio rt 4
|
|
||||||
task_profiles ProcessCapacityHigh HighPerformance
|
|
||||||
onrestart restart audioserver
|
|
|
@ -49,7 +49,7 @@ PRODUCT_AAPT_PREF_CONFIG := xxhdpi
|
||||||
|
|
||||||
# Audio
|
# Audio
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
android.hardware.audio.service.mediatek \
|
android.hardware.audio.service \
|
||||||
android.hardware.audio.effect@7.0-impl \
|
android.hardware.audio.effect@7.0-impl \
|
||||||
android.hardware.audio@7.0-impl \
|
android.hardware.audio@7.0-impl \
|
||||||
android.hardware.soundtrigger@2.3-impl
|
android.hardware.soundtrigger@2.3-impl
|
||||||
|
|
Loading…
Reference in a new issue