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

Commit 421c9df7 authored by RoboErik's avatar RoboErik
Browse files

Don't call size on a null metadata

bug:18002951
Change-Id: I3a2d2c781e7b235efbd8518d60eee7f44bbacd75
parent c43caf52
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);