Merge "Fix occasional NPE" into pi-dev

This commit is contained in:
TreeHugger Robot
2018-03-15 15:10:49 +00:00
committed by Android (Google) Code Review

View File

@@ -897,6 +897,9 @@ public class VolumeDialogImpl implements VolumeDialog {
}
private String getStreamLabelH(StreamState ss) {
if (ss == null) {
return "";
}
if (ss.remoteLabel != null) {
return ss.remoteLabel;
}