From 30d742971cbcd365e4c56adf0b55a22fe5742b1a Mon Sep 17 00:00:00 2001 From: Oscar Azucena Date: Wed, 27 May 2020 22:34:04 -0700 Subject: Fixed audio service crash due to missing library. Audio policy service was crashing due to missing sound trigger library. This library is not used but due to recent changes the audio HAL is reset and thus causes the audio service to crash. Bug: 157097833 Test: make installclean & make -j60 Test: run gcar emulator and verify the audio server does not crashes. Change-Id: I2ffa0ab53a1d58b17439880cb5a39248567c446d --- AndroidProducts.mk | 2 ++ emulator/aosp_car_emulator.mk | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/AndroidProducts.mk b/AndroidProducts.mk index 0270f3c..ae3ca08 100644 --- a/AndroidProducts.mk +++ b/AndroidProducts.mk @@ -27,3 +27,5 @@ COMMON_LUNCH_CHOICES := \ aosp_car_x86-userdebug \ aosp_car_x86_64-userdebug \ car_x86_64-userdebug \ + +EMULATOR_VENDOR_NO_SOUND_TRIGGER := true \ No newline at end of file diff --git a/emulator/aosp_car_emulator.mk b/emulator/aosp_car_emulator.mk index 04f9031..5011c97 100644 --- a/emulator/aosp_car_emulator.mk +++ b/emulator/aosp_car_emulator.mk @@ -15,5 +15,4 @@ $(call inherit-product, device/generic/car/common/car.mk) # This overrides device/generic/car/common/car.mk -$(call inherit-product, device/generic/car/emulator/audio/car_emulator_audio.mk) - +$(call inherit-product, device/generic/car/emulator/audio/car_emulator_audio.mk) \ No newline at end of file -- cgit v1.2.3