VolumeShaper: Make initialization consistent
Fix uninitialized enum variables for default
constructed aidl structs.
Test: compiles
Bug: 184662274
Change-Id: I5535dd6ce0648b4e02f64ce2b9ba10900d1e4b72
diff --git a/aidl/android/media/InterpolatorConfig.aidl b/aidl/android/media/InterpolatorConfig.aidl
index ef7486e..49f90e8 100644
--- a/aidl/android/media/InterpolatorConfig.aidl
+++ b/aidl/android/media/InterpolatorConfig.aidl
@@ -22,7 +22,7 @@
* {@hide}
*/
parcelable InterpolatorConfig {
- InterpolatorType type;
+ InterpolatorType type = InterpolatorType.CUBIC;
/** For cubic interpolation, the boundary conditions in slope. */
float firstSlope;
float lastSlope;