mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Revert "Removing insets controller animation as part of all-apps..."
Revert "Moving insets animation to StateHandler so that it can b..." Revert submission 13810332-insetcontroller Reason for revert: QsbLayout#getEditText() return object is changed, but extended class HotseatQsbWidget wasn't updated. https://android-build.googleplex.com/builds/submitted/7197042/aosp_crosshatch-userdebug/latest/view/logs/build_error.log Reverted Changes: If6a088d14:Removing insets controller animation as part of al... I296415604:Moving insets animation to StateHandler so that it... Change-Id: I4eb33772acd887d6e1d92a9ecde41cf1e0687896
This commit is contained in:
@@ -26,12 +26,14 @@ import android.animation.AnimatorListenerAdapter;
|
||||
import android.animation.AnimatorSet;
|
||||
import android.os.Handler;
|
||||
import android.os.Looper;
|
||||
import android.util.Log;
|
||||
|
||||
import com.android.launcher3.anim.AnimationSuccessListener;
|
||||
import com.android.launcher3.anim.AnimatorPlaybackController;
|
||||
import com.android.launcher3.anim.PendingAnimation;
|
||||
import com.android.launcher3.states.StateAnimationConfig;
|
||||
import com.android.launcher3.states.StateAnimationConfig.AnimationFlags;
|
||||
import com.android.launcher3.testing.TestProtocol;
|
||||
|
||||
import java.io.PrintWriter;
|
||||
import java.util.ArrayList;
|
||||
@@ -88,9 +90,7 @@ public class StateManager<STATE_TYPE extends BaseState<STATE_TYPE>> {
|
||||
|
||||
public StateHandler[] getStateHandlers() {
|
||||
if (mStateHandlers == null) {
|
||||
ArrayList<StateHandler> handlers = new ArrayList<>();
|
||||
mActivity.collectStateHandlers(handlers);
|
||||
mStateHandlers = handlers.toArray(new StateHandler[handlers.size()]);
|
||||
mStateHandlers = mActivity.createStateHandlers();
|
||||
}
|
||||
return mStateHandlers;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user