diff options
author | Winson <winsonc@google.com> | 2015-08-06 16:46:01 -0700 |
---|---|---|
committer | Winson <winsonc@google.com> | 2015-08-10 15:45:35 -0700 |
commit | 1df9c3c6bd985cf5819b6c1e9fb8ff096950dfa8 (patch) | |
tree | b3dc05c3297a95c4188967091848254c7b8a728f /core | |
parent | 69ed33087d77e32a1f1475adf00b9d87580960aa (diff) | |
download | frameworks_base-1df9c3c6bd985cf5819b6c1e9fb8ff096950dfa8.zip frameworks_base-1df9c3c6bd985cf5819b6c1e9fb8ff096950dfa8.tar.gz frameworks_base-1df9c3c6bd985cf5819b6c1e9fb8ff096950dfa8.tar.bz2 |
Pushing the startActivity before the calls to remove task.
- It appears that there is contention between startActivityAsUser() and
removeTask() (called on two separate threads) which can cause jank when
a user removes all the tasks from their recents list. This CL ensures
that startActivityAsUser() is always run first so it is not blocked
by the other call (which should be able to run in the background
uninterrupted).
Bug: 22760556
Change-Id: I7564a2f0e43414686419d3657379bbd0ca6b4152
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions