Merge "Don't let NotificationMediaManager cause NPEs"
This commit is contained in:
committed by
Android (Google) Code Review
commit
3c91545b8f
@@ -280,7 +280,10 @@ public class NotificationMediaManager implements Dumpable {
|
||||
if (metaDataChanged) {
|
||||
getEntryManager().updateNotifications();
|
||||
}
|
||||
mPresenter.updateMediaMetaData(metaDataChanged, true);
|
||||
|
||||
if (mPresenter != null) {
|
||||
mPresenter.updateMediaMetaData(metaDataChanged, true);
|
||||
}
|
||||
}
|
||||
|
||||
public void clearCurrentMediaNotification() {
|
||||
|
||||
Reference in New Issue
Block a user