Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 51c07bc0 authored by RoboErik's avatar RoboErik
Browse files

Fix regression in RCC.editMetadata(false)

Found a very simple fix. Just set the cached metadata so we have
it to copy over when editMetadata(false) is called.

bug:17796693
Change-Id: Ib27f0c3d28e7f2a3c7d9495697f36c8045e2bcf6
parent ae309489
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -572,7 +572,8 @@ import java.lang.IllegalArgumentException;

                // USE_SESSIONS
                if (mSession != null && mMetadataBuilder != null) {
                    mSession.setMetadata(mMetadataBuilder.build());
                    mMediaMetadata = mMetadataBuilder.build();
                    mSession.setMetadata(mMediaMetadata);
                }
                mApplied = true;
            }