hal: Expand the list of Barge-in usecases
This change adds new usecases to the list that will raise a
usecase event to sthal. USECASE_AUDIO_PLAYBACK_LOW_LATENCY and
USECASE_AUDIO_PLAYBACK_ULL are added with system property checks.
USECASE_AUDIO_PLAYBACK_MMAP is also added without a system
property. Additionally, screen state events can now be sent to
sthal.
Change-Id: I936b2390d886b67695daf184a2ca1b018ed17567
diff --git a/hal/audio_hw.c b/hal/audio_hw.c
index 739a0bf..8c4c71d 100644
--- a/hal/audio_hw.c
+++ b/hal/audio_hw.c
@@ -8079,6 +8079,7 @@
adev->screen_off = false;
else
adev->screen_off = true;
+ audio_extn_sound_trigger_update_screen_status(adev->screen_off);
}
ret = str_parms_get_int(parms, "rotation", &val);