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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user