AIDL effect: Declare effectProxy class as final
Bug: 261129656
Test: Enable AIDL and test on Pixel with YTM
Change-Id: I72cba60485864370956c37afe67ac09b66ee53ce
diff --git a/media/libaudiohal/impl/EffectProxy.h b/media/libaudiohal/impl/EffectProxy.h
index b1ab26e..ffb8a19 100644
--- a/media/libaudiohal/impl/EffectProxy.h
+++ b/media/libaudiohal/impl/EffectProxy.h
@@ -38,7 +38,7 @@
* and parameters will only passthrough to the active sub-effect.
*
*/
-class EffectProxy : public ::aidl::android::hardware::audio::effect::BnEffect {
+class EffectProxy final : public ::aidl::android::hardware::audio::effect::BnEffect {
public:
EffectProxy(const ::aidl::android::hardware::audio::effect::Descriptor::Identity& id,
const std::shared_ptr<::aidl::android::hardware::audio::effect::IFactory>& factory);