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

Commit eb9e73a1 authored by Matt Pietal's avatar Matt Pietal
Browse files

Controls UI - Handle activity dismissal from dialog

When the task stack indicates a removal, from say the back gesture,
also close the dialog.

Bug: 157664596
Test: Use back gesture within panels
Change-Id: I60beb61a58677b686d1fad5cf72bb38786cd5f34
parent bc109d01
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -64,6 +64,10 @@ class DetailDialog(
        }

        override fun onActivityViewDestroyed(view: ActivityView) {}

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

    init {