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
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
Reply all
Reply to author
Forward
0 new messages