Remove "See more" from wifi/bluetooth slices

- Also set the height of SliceView back to wrap_content as the space our
content needs can be satisfied with MODE_LARGE.

Change-Id: Ibaa514ac9c022c2723d99e5104f8d5ec63f14661
Fixes: 118763869
Test: robotests, visual
This commit is contained in:
Emily Chuang
2018-11-01 11:38:25 +08:00
committed by Fan Zhang
parent e4b4923dd0
commit 4b08270d8c
6 changed files with 10 additions and 30 deletions

View File

@@ -71,7 +71,7 @@ public class WifiSlice implements CustomSliceable {
.build();
@VisibleForTesting
static final int DEFAULT_EXPANDED_ROW_COUNT = 4;
static final int DEFAULT_EXPANDED_ROW_COUNT = 3;
private final Context mContext;
@@ -137,10 +137,7 @@ public class WifiSlice implements CustomSliceable {
.setSubtitle(placeholder));
}
}
// Add more button
return listBuilder
.setSeeMoreAction(primaryAction)
.build();
return listBuilder.build();
}
private RowBuilder getAccessPointRow(AccessPoint accessPoint) {