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

Commit 0dfd86e0 authored by RoboErik's avatar RoboErik Committed by Android Git Automerger
Browse files

am c7be69f1: Merge "Don\'t call size on a null metadata" into lmp-dev

* commit 'c7be69f1':
  Don't call size on a null metadata
parents 522fe28e c7be69f1
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -731,7 +731,9 @@ public class MediaSessionRecord implements IBinder.DeathRecipient {
                // This is to guarantee that the underlying bundle is unparceled
                // before we set it to prevent concurrent reads from throwing an
                // exception
                if (temp != null) {
                    temp.size();
                }
                mMetadata = temp;
            }
            mHandler.post(MessageHandler.MSG_UPDATE_METADATA);