Skip to content

Commit

Permalink
[HotFix] Rename PlaybackPosition structure to PlaybackPositionStruct …
Browse files Browse the repository at this point in the history
…after #24509 (#24611)
  • Loading branch information
vivien-apple authored and pull[bot] committed Oct 10, 2023
1 parent 384f208 commit 2031010
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 2031010

Please sign in to comment.