summaryrefslogtreecommitdiff
path: root/emulator/audio/driver
diff options
context:
space:
mode:
authorIlia Seliuminov <ilia@haleytek.com>2023-04-17 04:43:56 +0000
committerSihu Song <sihusong@google.com>2023-04-20 11:42:01 +0900
commitae758f9a2e344be7e7544acb18d7288a9535f19d (patch)
tree3a61bbdd7f3081c1d81fc4bd436e0c28ebccd30e /emulator/audio/driver
parent774f42a3a4d7f3327502438fd834f8f460e24758 (diff)
downloadcar-ae758f9a2e344be7e7544acb18d7288a9535f19d.tar.gz
Address SELinux warning for car emulator
- Rename property which breaks vendor property namespace; - Add Audio Emu HAL capabillity to read audio related vendor properties. - Add Audio Emu HAL capabillity to write to fifo_file. Bug: 277731690 Test: Built, executed, and found no selinux permission issue Change-Id: I36f1ab831b2068641fcbca22af88e37044d094ad
Diffstat (limited to 'emulator/audio/driver')
-rw-r--r--emulator/audio/driver/audio_hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/emulator/audio/driver/audio_hw.c b/emulator/audio/driver/audio_hw.c
index 13dfdac..7714087 100644
--- a/emulator/audio/driver/audio_hw.c
+++ b/emulator/audio/driver/audio_hw.c
@@ -91,7 +91,7 @@ static const char* PROP_KEY_IN_PERIOD_COUNT[2] = {
#define _bool_str(x) ((x)?"true":"false")
-static const char * const PROP_KEY_SIMULATE_MULTI_ZONE_AUDIO = "ro.aae.simulateMultiZoneAudio";
+static const char * const PROP_KEY_SIMULATE_MULTI_ZONE_AUDIO = "ro.vendor.caremu.audiohal.simulateMultiZoneAudio";
static const char * const AAE_PARAMETER_KEY_FOR_SELECTED_ZONE = "com.android.car.emulator.selected_zone";
#define PRIMARY_ZONE_ID 0
#define INVALID_ZONE_ID -1