Merge "Better format channel masks in AudioProfile.toString()." into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
7d3702cf2c
@@ -88,7 +88,7 @@ public class AudioProfile {
|
||||
if (ints == null || ints.length == 0) {
|
||||
return "";
|
||||
}
|
||||
return Arrays.stream(ints).mapToObj(anInt -> String.format("0x%02X, ", anInt))
|
||||
.collect(Collectors.joining());
|
||||
return Arrays.stream(ints).mapToObj(anInt -> String.format("0x%02X", anInt))
|
||||
.collect(Collectors.joining(", "));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user