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

Skip to content
Commit 28483133 authored by d34d's avatar d34d Committed by Jessica Wagantall
Browse files

Recents: Delay cleanup of remaining tasks when dismissing

SystemServicesProxy.removeAllUserTask() can take upwards of 2000ms
to execute which causes the animation of tasks removing to be delayed.
Post a delayed runnable to handle the cleanup after the animations.

This patch also removes posting the dismissal of tasks in a runnable
as this code is already being executed on the UI thread from the
clear all recents onClick().

CYNGNOS-1583

Change-Id: I027d10980d191bb8c4d5fea597294ccf4ff9a7bb
TICKET: QRDL-1076
parent af6dd6cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment