audio: Fix an improper enumeration type conversion error.
Use ka.active_devices = AUDIO_DEVICE_NONE; instead
as per keep_alive_init it is the correct enum for
keepalive with no active devices.
Change-Id: I2057d054f0c44a2b5b759ad2252b9234f52eb7d3
diff --git a/hal/audio_extn/keep_alive.c b/hal/audio_extn/keep_alive.c
index 79f2bb0..a0b7f8f 100644
--- a/hal/audio_extn/keep_alive.c
+++ b/hal/audio_extn/keep_alive.c
@@ -362,7 +362,7 @@
}
pcm_close(ka.pcm);
ka.pcm = NULL;
- ka.active_devices = KEEP_ALIVE_OUT_NONE;
+ ka.active_devices = AUDIO_DEVICE_NONE;
return 0;
}