What is the purpose of the variable mTaskHistory of class ActivityStack?
25 views
Skip to first unread message
mugdha khade
unread,
Jul 24, 2015, 3:15:31 PM7/24/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-platform
Hey,
I am not sure I understand this variable. What all tasks are be stored
in it? The description says : /* The back history of all previous (and
possibly still running) activities. It contains #TaskRecord objects. */
Should it have the tasks which are currently in recents list? When we close any application (eg angry birds where we can quit.) the task is added to the mTaskHistory but if I force stop the application it is not added to mTaskHistory. It is present in the recents menu as well if you force stop. Thanks