OSDN Git Service

Always force update the transform when calling from RecentsImpl.
authorWinson <winsonc@google.com>
Fri, 1 Apr 2016 18:25:35 +0000 (11:25 -0700)
committerWinson Chung <winsonc@google.com>
Fri, 1 Apr 2016 18:28:23 +0000 (18:28 +0000)
commitdec4430d52f038148f53a9df9958e3553c8a5216
tree9724578f404e22d7761b6ad2258c5293956f091e
parent1722613b0cc058523d525d3ca63cfc0a7c54b8aa
Always force update the transform when calling from RecentsImpl.

- Workaround for crash in RecentsImpl where we could be retrieving the
  transform for a task that is not at the front of the stack (can happen
  if time changes, etc.)  However, since we only use the size for the
  transition, we can always force-update the transform.

Bug: 27849282
Change-Id: I86eee4c158748e4f13a2daeac5cf040c0874f967
packages/SystemUI/src/com/android/systemui/recents/RecentsImpl.java
packages/SystemUI/src/com/android/systemui/recents/views/TaskStackLayoutAlgorithm.java