Change expand animation for private space container.
Only scroll to bottom. Don't use the animation. bug: 299294792 test: manual: video: https://drive.google.com/file/d/134Mq0MX0xauRfkNv8LGXOZgweRjqrmTa/view?usp=sharing Flag: ACONFIG com.android.launcher3.Flags.private_space_animation TEAMFOOD Change-Id: Ie6666638a53e334bddb1700674c2c49eb5788a06
This commit is contained in:
@@ -120,11 +120,7 @@ public class PrivateSpaceHeaderViewController {
|
||||
(ActivityAllAppsContainerView<?>.AdapterHolder) mAllApps.mAH.get(MAIN);
|
||||
if (Flags.enablePrivateSpace() && Flags.privateSpaceAnimation()
|
||||
&& mAllApps.getActiveRecyclerView() == mainAdapterHolder.mRecyclerView) {
|
||||
RecyclerViewAnimationController recyclerViewAnimationController =
|
||||
new RecyclerViewAnimationController(mAllApps);
|
||||
recyclerViewAnimationController.animateToState(true /* expand */,
|
||||
ANIMATION_DURATION, () -> {});
|
||||
mAllApps.getActiveRecyclerView().scrollToBottomWithMotion();
|
||||
mAllApps.getActiveRecyclerView().scrollToBottomWithMotion(ANIMATION_DURATION);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user