summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOscar Azucena <oscarazu@google.com>2020-05-27 22:34:04 -0700
committerOscar Azucena <oscarazu@google.com>2020-05-28 15:17:39 -0700
commit30d742971cbcd365e4c56adf0b55a22fe5742b1a (patch)
tree30bbd8ea763d89fe396213b9936d081543afe863
parent4439d85a30e2ad08d0aed670e68462923c845e4e (diff)
downloaddevice_generic_car-30d742971cbcd365e4c56adf0b55a22fe5742b1a.tar.gz
device_generic_car-30d742971cbcd365e4c56adf0b55a22fe5742b1a.tar.bz2
device_generic_car-30d742971cbcd365e4c56adf0b55a22fe5742b1a.zip
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
-rw-r--r--AndroidProducts.mk2
-rw-r--r--emulator/aosp_car_emulator.mk3
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