Closed franc5 closed 4 years ago
This is a workaround to ensure the activity to behave as a singleTask.
singleTask
We first check if the activity is the task root, and if not, we start a new activity from the same intent and finish the non-task-root one.
This is a workaround to ensure the activity to behave as a
singleTask
.We first check if the activity is the task root, and if not, we start a new activity from the same intent and finish the non-task-root one.