summaryrefslogtreecommitdiffstats
path: root/hal
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2020-03-14 19:36:11 +0200
committerMichael Bestas <mkbestas@lineageos.org>2020-03-14 19:36:11 +0200
commit5dcabd277cd32d962ba1a3f24e5a53ffce47c5fd (patch)
treed6d637c9d316912355058f2e9dcf7dec9a7f1d30 /hal
parent007fe16c8a0878373d37e1b70581ada9d9fea26f (diff)
downloadandroid_hardware_qcom_audio-5dcabd277cd32d962ba1a3f24e5a53ffce47c5fd.tar.gz
android_hardware_qcom_audio-5dcabd277cd32d962ba1a3f24e5a53ffce47c5fd.tar.bz2
android_hardware_qcom_audio-5dcabd277cd32d962ba1a3f24e5a53ffce47c5fd.zip
hal: Remove property violating property isolation
* Based on bce6f6aa164eefc94cb62ec70082b0bdb2f5c63e Change-Id: I65e36cfa02ad7cb2a85f32e3b4d06952474703e0
Diffstat (limited to 'hal')
-rw-r--r--hal/audio_hw.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hal/audio_hw.c b/hal/audio_hw.c
index 0107115e..300107da 100644
--- a/hal/audio_hw.c
+++ b/hal/audio_hw.c
@@ -9897,8 +9897,7 @@ static int adev_open(const hw_module_t *module, const char *name,
configured_low_latency_capture_period_size = trial;
}
}
- if ((property_get("vendor.audio_hal.in_period_size", value, NULL) > 0) ||
- (property_get("audio_hal.in_period_size", value, NULL) > 0)) {
+ if (property_get("vendor.audio_hal.in_period_size", value, NULL) > 0) {
trial = atoi(value);
if (period_size_is_plausible_for_low_latency(trial)) {
configured_low_latency_capture_period_size = trial;