CSD: forward the native MEL exposure to AudioService
Added new aidl interface for the communication between the
SoundDoseManager and the SoundDoseHelper. Currently only the momentary
exposure warning is reported.
Test: manual
Bug: 257238734
Change-Id: I61560f81fedd31c30c39d676b7adf0ce087b495c
diff --git a/services/audioflinger/MelReporter.h b/services/audioflinger/MelReporter.h
index 8a78f6e..3625a86 100644
--- a/services/audioflinger/MelReporter.h
+++ b/services/audioflinger/MelReporter.h
@@ -44,6 +44,8 @@
// For now only support internal MelReporting
[[nodiscard]] bool isHalReportingEnabled() const { return false; }
+ void registerSoundDoseCallback(const sp<media::ISoundDoseCallback>& callback);
+
std::string dump();
// PatchCommandListener methods