Reset AppChip chevron when closed
This CL fixes two issues:
1. It resets the chevron AnimatedVectorDrawable back to the start when
the TaskMenuView has finished closing. This stops it being re-opened in
any previously animated state and starts fresh each time.
2. The original position of the TaskMenuView is put back in its original
position when finished closing. If animations are disabled, the
TaskMenuView is never put back in its original position.
Video after this commit is applied: http://shortn/_gfy0pN6sKX
Fixes: 316998167
Fixes: 316996167
Test: Manual
Open several apps. Open Overview. Expand a TaskMenuView. Swipe up to
home. Open Overview again. TaskMenuView chevron should be facing down.
Flag: ACONFIG com.android.launcher3.enable_grid_only_overview TEAMFOOD
Flag: ACONFIG com.android.launcher3.enable_overview_icon_menu TEAMFOOD
Change-Id: I7d9e60b5c0a56cf809e9870573c3b51af5ded8c3
1 file changed