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

Commit 5c418d56 authored by Sachin Mohan Gadag's avatar Sachin Mohan Gadag
Browse files

hal: Disable keep alive feature by default

Disable keep alive feature by setting default property value
as true.

Change-Id: If8cd5c33fde243b9492888f5a0d662d28d93fea8
parent cb5b5789
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -120,7 +120,7 @@ void audio_extn_keep_alive_init(struct audio_device *adev)
    ka.state = STATE_IDLE;
    ka.state = STATE_IDLE;
    ka.pcm = NULL;
    ka.pcm = NULL;
    pthread_condattr_t attr;
    pthread_condattr_t attr;
    if (property_get_bool("vendor.audio.keep_alive.disabled", false)) {
    if (property_get_bool("vendor.audio.keep_alive.disabled", true)) {
        ALOGE("keep alive disabled");
        ALOGE("keep alive disabled");
        ka.state = STATE_DISABLED;
        ka.state = STATE_DISABLED;
        return;
        return;