For #19135 - Offer more context for why STATE_HALF_EXPANDED is not used

upstream-sync
Mugurell 3 years ago
parent abeb8b5576
commit a1fa1a5df6

@ -93,7 +93,7 @@ internal class TraySheetBehaviorCallback(
trayInteractor.onTabTrayDismissed()
} else if (newState == BottomSheetBehavior.STATE_HALF_EXPANDED) {
// We only support expanded and collapsed states.
// But why??
// Otherwise the tray may be left in an unusable state. See #14980.
behavior.state = STATE_HIDDEN
}
}

Loading…
Cancel
Save