History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/activity/MultiWindowStateChangedEvent.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6519c1b0fe85c5f25115539e936e4333e8537098 14-Oct-2017 Winson Chung <winsonc@google.com> Moving some recents logic into the shared lib.

- Creating com.android.system.shared library with recents model code and
corresponding recents tests
- Removing notion of blacklisted apps since that is now obsolete.

Bug: 67510855
Test: It builds, Recents runs

Change-Id: Ib1f5eefa6e4d4964366061246002509e2e15b19e
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/activity/MultiWindowStateChangedEvent.java
95ee8736dacd52c4e909815d3e524cf2f64657f9 26-Apr-2016 Winson <winsonc@google.com> Skip scroll-to animation when undocking and there are no tasks.

Bug: 28367678
Change-Id: Iafd064196cae43f60ff6d356843d1e431d15daea
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/activity/MultiWindowStateChangedEvent.java
d2a030613154e2007d9816e090c39e9726e7adba 15-Apr-2016 Winson <winsonc@google.com> Adding desired undocking animation.

- Separating task binding from task data updating
- Removing unused parameters

Bug: 27154882
Change-Id: Ia970597d57857a74b5d008e91a93703d8fb70c1e
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/activity/MultiWindowStateChangedEvent.java
500ba75c9a53786ce3f60a9cd985b6cc29eb665d 30-Mar-2016 Winson <winsonc@google.com> Disabling the nav bar scrim when Recents is docked.

Bug: 27869246

Change-Id: I554b299c7e577f40811fc02d6ff4a46313ff1622
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/activity/MultiWindowStateChangedEvent.java
8873754f66527d2cc9feab295dd4eef23298212a 17-Feb-2016 Winson <winsonc@google.com> Refactoring to update stack in onResume.

This CL fixes a long-standing issue in which Recents is not updated
correctly if it is not completely hidden and shown. In particular, it
would cause animation issues when launching into a non-fullscreen
activity or if the user quickly toggles between recent tasks. It
contains several fixes:

- The visual state in Recents is no longer reset until the activity is
fully hidden (onStop() is called), and the task stack state is saved
allowing us to return to the same initial state. When restarting the
activity, we propagate whether the activity was hidden down the view
hierarchy, so that each task can decide whether to reset itself.
- When the recents activity is started, we now merge the new stack with
the current stack instead of replacing it completely. This unifies
the logic when dismissing multi-window while Recents is open, and this
CL fixes an issue with the merging where onStackTaskAdded() was called
before the stack was updated with the new task. As a result of this
change, we can just rebind the task views without having to return and
pick them up from the view pool.
- This CL also fixes an issue with flashing when the screen turns off.
The activity onStop() can be called before the activity is fully
hidden, which would trigger a reset(), which would return all views to
the pool.

Bug: 23815609
Bug: 25411120
Bug: 27186407
Change-Id: I83d74c947f9b47766d6778b7f5c421bb6df833e9
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/activity/MultiWindowStateChangedEvent.java