Set MODE_LARGE to sliceView in the homepage.
The mode of sliceView is set to MODE_SHORTCUT accidentally in the previous commit. Set it back to MODE_LARGE. Change-Id: I1ae8e895fc0172d2d93fc19c54803d56040379da Fixes: 115709730 Test: robotests
This commit is contained in:
@@ -84,7 +84,7 @@ public class SliceContextualCardRenderer implements ContextualCardRenderer,
|
|||||||
|
|
||||||
cardHolder.sliceView.setTag(uri);
|
cardHolder.sliceView.setTag(uri);
|
||||||
//TODO(b/114009676): We will soon have a field to decide what slice mode we should set.
|
//TODO(b/114009676): We will soon have a field to decide what slice mode we should set.
|
||||||
cardHolder.sliceView.setMode(SliceView.MODE_SHORTCUT);
|
cardHolder.sliceView.setMode(SliceView.MODE_LARGE);
|
||||||
LiveData<Slice> sliceLiveData = mSliceLiveDataMap.get(uri.toString());
|
LiveData<Slice> sliceLiveData = mSliceLiveDataMap.get(uri.toString());
|
||||||
|
|
||||||
if (sliceLiveData == null) {
|
if (sliceLiveData == null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user