Fix media switch slice doesn't display in panel
Fixes: 140396725 Test: manual Change-Id: Idf0b766ce5f4316ff90a23faf3083cdee9854562
This commit is contained in:
@@ -117,7 +117,7 @@ public class PanelSlicesAdapter
|
||||
|
||||
// Do not show the divider above media devices switcher slice per request
|
||||
final Slice slice = sliceLiveData.getValue();
|
||||
if (slice != null && slice.getUri().equals(MEDIA_OUTPUT_INDICATOR_SLICE_URI)) {
|
||||
if (slice == null || slice.getUri().equals(MEDIA_OUTPUT_INDICATOR_SLICE_URI)) {
|
||||
mDividerAllowedAbove = false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user