From 6a10f046416f0ab9436aceab2ded9881c81f010a Mon Sep 17 00:00:00 2001 From: Vivien Nicolas Date: Wed, 25 Jan 2023 12:57:39 +0100 Subject: [PATCH] [HotFix] Rename PlaybackPosition to PlaybackPositionStruct in examples/tv-app/android/include/media-playback/AppMediaPlaybackManager.cpp (#24634) --- .../include/media-playback/AppMediaPlaybackManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/tv-app/android/include/media-playback/AppMediaPlaybackManager.cpp b/examples/tv-app/android/include/media-playback/AppMediaPlaybackManager.cpp index ef9934090f1c16..402efef2e993c5 100644 --- a/examples/tv-app/android/include/media-playback/AppMediaPlaybackManager.cpp +++ b/examples/tv-app/android/include/media-playback/AppMediaPlaybackManager.cpp @@ -192,9 +192,9 @@ CHIP_ERROR AppMediaPlaybackManager::HandleGetSampledPosition(AttributeValueEncod if (!value[attrId].empty() && value[attrId].isObject()) { std::string updatedAt = to_string( - static_cast(chip::app::Clusters::MediaPlayback::Structs::PlaybackPosition::Fields::kUpdatedAt)); + static_cast(chip::app::Clusters::MediaPlayback::Structs::PlaybackPositionStruct::Fields::kUpdatedAt)); std::string position = to_string( - static_cast(chip::app::Clusters::MediaPlayback::Structs::PlaybackPosition::Fields::kPosition)); + static_cast(chip::app::Clusters::MediaPlayback::Structs::PlaybackPositionStruct::Fields::kPosition)); if (!value[attrId][updatedAt].empty() && !value[attrId][position].empty() && value[attrId][updatedAt].isUInt() && value[attrId][position].isUInt()) {