Loading packages/SystemUI/src/com/android/systemui/qs/composefragment/QSFragmentCompose.kt +8 −0 Original line number Diff line number Diff line Loading @@ -1196,6 +1196,8 @@ private class FrameLayoutTouchPassthrough( private val isInBottomReservedArea: (Float, Float) -> Boolean, ) : FrameLayout(context) { private val lastConfig = Configuration(context.resources.configuration) init { repeatWhenAttached { repeatOnLifecycle(Lifecycle.State.STARTED) { Loading Loading @@ -1336,6 +1338,12 @@ private class FrameLayoutTouchPassthrough( return super.onTouchEvent(event) } override fun dispatchConfigurationChanged(newConfig: Configuration) { if (lastConfig.updateFrom(newConfig) != 0) { super.dispatchConfigurationChanged(newConfig) } } override fun onInterceptTouchEvent(ev: MotionEvent): Boolean { // If there's a touch on this view and we can scroll down, we don't want to be intercepted val action = ev.actionMasked Loading Loading
packages/SystemUI/src/com/android/systemui/qs/composefragment/QSFragmentCompose.kt +8 −0 Original line number Diff line number Diff line Loading @@ -1196,6 +1196,8 @@ private class FrameLayoutTouchPassthrough( private val isInBottomReservedArea: (Float, Float) -> Boolean, ) : FrameLayout(context) { private val lastConfig = Configuration(context.resources.configuration) init { repeatWhenAttached { repeatOnLifecycle(Lifecycle.State.STARTED) { Loading Loading @@ -1336,6 +1338,12 @@ private class FrameLayoutTouchPassthrough( return super.onTouchEvent(event) } override fun dispatchConfigurationChanged(newConfig: Configuration) { if (lastConfig.updateFrom(newConfig) != 0) { super.dispatchConfigurationChanged(newConfig) } } override fun onInterceptTouchEvent(ev: MotionEvent): Boolean { // If there's a touch on this view and we can scroll down, we don't want to be intercepted val action = ev.actionMasked Loading