Update the last active time to be in-sync with recency when device restarts

Found an issue that the last active time of tasks are random and not in-sync with their recent order. But it is needed with implementing pruning by last active time in ag/24058375. So the fix is to update the last active time before returning the task list

Fix: 271570416
Test: RecentTasksTest
Change-Id: Ied43f88fc3d87ee22b7292078afddfc52b29a087
2 files changed