Merge "Don't call size on a null metadata" into lmp-dev
This commit is contained in:
@@ -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
|
||||
temp.size();
|
||||
if (temp != null) {
|
||||
temp.size();
|
||||
}
|
||||
mMetadata = temp;
|
||||
}
|
||||
mHandler.post(MessageHandler.MSG_UPDATE_METADATA);
|
||||
|
||||
Reference in New Issue
Block a user