From 221416566ecb8bf81f42441618d7f2b6942a801f Mon Sep 17 00:00:00 2001 From: Vivien Nicolas Date: Tue, 24 Jan 2023 13:34:55 +0100 Subject: [PATCH] [HotFix] Rename PlaybackPosition structure to PlaybackPositionStruct after #24509 (#24611) --- .../App/app/src/main/jni/cpp/MatterCallbackHandler-JNI.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/tv-casting-app/android/App/app/src/main/jni/cpp/MatterCallbackHandler-JNI.cpp b/examples/tv-casting-app/android/App/app/src/main/jni/cpp/MatterCallbackHandler-JNI.cpp index c15521b9db383c..eb19010ea33853 100644 --- a/examples/tv-casting-app/android/App/app/src/main/jni/cpp/MatterCallbackHandler-JNI.cpp +++ b/examples/tv-casting-app/android/App/app/src/main/jni/cpp/MatterCallbackHandler-JNI.cpp @@ -252,11 +252,11 @@ jobject SampledPositionSuccessHandlerJNI::ConvertToJObject( jobject jSampledPosition = nullptr; if (!responseData.IsNull()) { - const chip::app::Clusters::MediaPlayback::Structs::PlaybackPosition::DecodableType & playbackPosition = + const chip::app::Clusters::MediaPlayback::Structs::PlaybackPositionStruct::DecodableType & playbackPosition = responseData.Value(); jclass responseTypeClass = nullptr; - CHIP_ERROR err = JniReferences::GetInstance().GetClassRef(env, "com/chip/casting/MediaPlaybackTypes$PlaybackPosition", + CHIP_ERROR err = JniReferences::GetInstance().GetClassRef(env, "com/chip/casting/MediaPlaybackTypes$PlaybackPositionStruct", responseTypeClass); if (err != CHIP_NO_ERROR) {