Merge "Fix occasional NPE" into pi-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
d2f757bdd9
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user