am c7be69f1: Merge "Don\'t call size on a null metadata" into lmp-dev
* commit 'c7be69f1d63bcc8411875ff53e5561f2f4692072': Don't call size on a null metadata
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