goldfish-codecs: fix config crash

This is a cherry-pick of ag/2069510
from frameworks/av project.
whithout it, the decoder hal will crash right away
during config.

Bug: 231082382

Change-Id: I9351a4d105e136282dd179119fe1da9088609008
diff --git a/system/codecs/c2/decoders/base/SimpleC2Interface.cpp b/system/codecs/c2/decoders/base/SimpleC2Interface.cpp
index 9f76520..5e18da9 100644
--- a/system/codecs/c2/decoders/base/SimpleC2Interface.cpp
+++ b/system/codecs/c2/decoders/base/SimpleC2Interface.cpp
@@ -29,6 +29,14 @@
 
 /* SimpleInterface */
 
+static C2R SubscribedParamIndicesSetter(
+        bool mayBlock, C2InterfaceHelper::C2P<C2SubscribedParamIndicesTuning> &me) {
+    (void)mayBlock;
+    (void)me;
+
+    return C2R::Ok();
+}
+
 SimpleInterface<void>::BaseParams::BaseParams(
     const std::shared_ptr<C2ReflectorHelper> &reflector, C2String name,
     C2Component::kind_t kind, C2Component::domain_t domain, C2String mediaType,
@@ -196,9 +204,7 @@
             .withDefault(C2SubscribedParamIndicesTuning::AllocShared(0u))
             .withFields({C2F(mSubscribedParamIndices, m.values[0]).any(),
                          C2F(mSubscribedParamIndices, m.values).any()})
-            .withSetter(
-                Setter<
-                    C2SubscribedParamIndicesTuning>::NonStrictValuesWithNoDeps)
+            .withSetter(SubscribedParamIndicesSetter)
             .build());
 
     /* TODO