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

Commit a9966363 authored by Fabián Kozynski's avatar Fabián Kozynski
Browse files

Pass outer STL overscroll effect to inner.

Test: manual, open QS
Fixes: 438702099
Flag: com.android.systemui.scene_container
Change-Id: Ia62a16e033fb7d7690ae1a76f26618eec84fdf52
parent bcfdc1b0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ package com.android.systemui.qs.ui.composable

import androidx.compose.animation.core.animateFloatAsState
import androidx.compose.animation.core.tween
import androidx.compose.foundation.OverscrollEffect
import androidx.compose.foundation.clipScrollableContainer
import androidx.compose.foundation.gestures.Orientation
import androidx.compose.foundation.layout.Box
@@ -233,6 +234,7 @@ private fun ContentScope.QuickSettingsScene(
                        notificationStackScrollView,
                        shadeSession,
                        jankMonitor,
                        this@QuickSettingsScene.verticalOverscrollEffect,
                    )
                }
            }
@@ -261,6 +263,7 @@ private fun ContentScope.QuickSettingsContent(
    notificationStackScrollView: NotificationScrollView,
    shadeSession: SaveableSession,
    jankMonitor: InteractionJankMonitor,
    verticalOverscrollEffect: OverscrollEffect,
) {
    val cutoutLocation = LocalDisplayCutout.current().location