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
This commit is contained in:
Matt Pietal
2020-06-03 14:45:26 -04:00
parent bc109d011e
commit eb9e73a190

View File

@@ -64,6 +64,10 @@ class DetailDialog(
}
override fun onActivityViewDestroyed(view: ActivityView) {}
override fun onTaskRemovalStarted(taskId: Int) {
dismiss()
}
}
init {