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

Commit e211fb89 authored by Eghosa Ewansiha-Vlachavas's avatar Eghosa Ewansiha-Vlachavas Committed by Android (Google) Code Review
Browse files

Merge "Adjust drag to pull down notifications to avoid desktop mode app handle" into main

parents 2c9d7d81 ad273eec
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -179,12 +179,13 @@ object SplitScreenUtils {
        val displayBounds =
            wmHelper.currentState.layerState.displays.firstOrNull { !it.isVirtual }?.layerStackSpace
                ?: error("Display not found")
        val swipeXCoordinate = displayBounds.centerX() / 2

        // Pull down the notifications
        device.swipe(
            displayBounds.centerX(),
            swipeXCoordinate,
            5,
            displayBounds.centerX(),
            swipeXCoordinate,
            displayBounds.bottom,
            50 /* steps */
        )