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

Commit 076286e0 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Removing notification headers as valid magnetic boundaries." into main

parents 6015866a dda8fc89
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -222,12 +222,7 @@ class NotificationTargetsHelper @Inject constructor() {
                },
        )

    private fun ExpandableView?.isValidMagneticBoundary(): Boolean =
        when (this) {
            is NotificationShelf,
            is SectionHeaderView -> true
            else -> false
        }
    private fun ExpandableView?.isValidMagneticBoundary(): Boolean = this is NotificationShelf

    private fun ExpandableView.isValidMagneticTargetForSwiped(
        viewSwiped: ExpandableView,