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

Commit 9a3a94db authored by Matt Pietal's avatar Matt Pietal
Browse files

Controls detail panel - handle back press

The TaskView receives all events when presented, including back
gestures. Handle it to dismiss the detail panel.

Fixes: 188479074
Test: manual
Change-Id: Ia47e118ab5c993870c5ef585cee2c7f061b2365d
parent 1dfd9484
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -102,6 +102,10 @@ class DetailDialog(
        override fun onReleased() {
            removeDetailTask()
        }

        override fun onBackPressedOnTaskRoot(taskId: Int) {
            dismiss()
        }
    }

    init {