commit | 6c8217ab3072fa65851316a922b482506b3c2a4c | [log] [tgz] |
---|---|---|
author | Winson <winsonc@google.com> | Wed May 25 10:53:53 2016 -0700 |
committer | Winson Chung <winsonc@google.com> | Thu May 26 19:57:34 2016 +0000 |
tree | 7447ded4fc7be599e6786eb07260421b8531e83e | |
parent | a39d888651493d20f3814cd88a39a521450b3eac [diff] |
Defer calling the stack task removed callbacks. - When updating a TaskStack, defer calling any callbacks until the stack is updated. Otherwise, the handler may incorrectly check the size of the stack to be empty, which triggers Recents to go home. - This CL also removes an erroneous double call to onStackTaskRemoved() when updating, one explicit call and the call that is made internally in removeTask(). Bug: 28941269 Change-Id: I37b93bd959a625096925a16a426269a0c79de4e7