containsUndismissedSideBarTaskPanel

fun containsUndismissedSideBarTaskPanel(): LiveData<Boolean>

Returns whether the stack contains any TaskPanels with TaskPanel.Mode.SIDE_BAR that have not been dismissed yet.

This can be used to adjust the system UI's layout upon the start of a panel's dismissal, without having to wait for them to have been transitioned away completely.

Note: This returns a LiveData transformation, which does not have an up-to-date value unless observed.