Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc57ee1c authored by Omar Miatello's avatar Omar Miatello
Browse files

Shade should collapse when drag gesture begins on the bottom boundary

Test: Manually tested on Flexiglass
Bug: 393167618
Flag: com.android.systemui.scene_container
Change-Id: Ia2878383a67bb9ded29b563c4a65c94218c91bff
parent 7e6a7855
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -91,6 +91,7 @@ import com.android.compose.animation.scene.ElementKey
import com.android.compose.animation.scene.LowestZIndexContentPicker
import com.android.compose.animation.scene.SceneTransitionLayoutState
import com.android.compose.animation.scene.content.state.TransitionState
import com.android.compose.gesture.NestedScrollableBound
import com.android.compose.modifiers.thenIf
import com.android.systemui.common.ui.compose.windowinsets.LocalScreenCornerRadius
import com.android.systemui.res.R
@@ -579,6 +580,7 @@ fun ContentScope.NotificationScrollingStack(
                            Modifier.nestedScroll(scrimNestedScrollConnection)
                        }
                        .stackVerticalOverscroll(coroutineScope) { scrollState.canScrollForward }
                        .disableSwipesWhenScrolling(NestedScrollableBound.BottomRight)
                        .verticalScroll(scrollState)
                        .padding(top = stackTopPadding, bottom = stackBottomPadding)
                        .fillMaxWidth()