Invert how sound trigger capture is notified
Previously, audio policy client would call an method on the sound
trigger middleware service. This has been replaced by the sound
trigger service registering a callback, in order to avoid a cyclic
dependency between the services.
Bug: 146157104
Change-Id: I876461a7650d337d6dd05fbe80efaf08f8ef20dd
Merged-In: I876461a7650d337d6dd05fbe80efaf08f8ef20dd
diff --git a/services/audiopolicy/service/Android.bp b/services/audiopolicy/service/Android.bp
index 35a4599..6ee573f 100644
--- a/services/audiopolicy/service/Android.bp
+++ b/services/audiopolicy/service/Android.bp
@@ -28,7 +28,7 @@
"libmediautils",
"libsensorprivacy",
"libutils",
- "soundtrigger_middleware-aidl-cpp",
+ "capture_state_listener-aidl-cpp",
],
static_libs: [