Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5dcabd27 authored by Michael Bestas's avatar Michael Bestas
Browse files

hal: Remove property violating property isolation

* Based on bce6f6aa

Change-Id: I65e36cfa02ad7cb2a85f32e3b4d06952474703e0
parent 007fe16c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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;