Merge "Add Volume panel"

This commit is contained in:
TreeHugger Robot
2018-12-03 21:09:47 +00:00
committed by Android (Google) Code Review
12 changed files with 197 additions and 12 deletions

View File

@@ -193,8 +193,9 @@ public class SliceBuilderUtils {
CharSequence summaryText = controller.getSummary();
// Priority 1 : User prefers showing the dynamic summary in slice view rather than static
// summary.
if (isDynamicSummaryAllowed && isValidSummary(context, summaryText)) {
// summary. Note it doesn't require a valid summary - so we can force some slices to have
// empty summaries (ex: volume).
if (isDynamicSummaryAllowed) {
return summaryText;
}