mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 08:56:55 +00:00
Fixing non-sending wallpaper animation finish event
Wallpaper animation may be interrupted with an animation to go to Normal state. Then the animation won't succeed, but it will still end. Bug: 315074923 Flag: N/A Test: presubmit Change-Id: I15a106de78030f6935978539d333cc85ee95b4e7
This commit is contained in:
@@ -1654,9 +1654,10 @@ public class QuickstepTransitionManager implements OnDeviceProfileChangeListener
|
||||
addCujInstrumentation(anim, playFallBackAnimation
|
||||
? CUJ_APP_CLOSE_TO_HOME_FALLBACK : CUJ_APP_CLOSE_TO_HOME);
|
||||
|
||||
anim.addListener(new AnimationSuccessListener() {
|
||||
anim.addListener(new AnimatorListenerAdapter() {
|
||||
@Override
|
||||
public void onAnimationSuccess(Animator animator) {
|
||||
public void onAnimationEnd(Animator animation) {
|
||||
super.onAnimationEnd(animation);
|
||||
AccessibilityManagerCompat.sendTestProtocolEventToTest(
|
||||
mLauncher, WALLPAPER_OPEN_ANIMATION_FINISHED_MESSAGE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user