Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a58ffe37 authored by Chris Li's avatar Chris Li Committed by Gerrit Code Review
Browse files

Merge "Fix NPE when finishing remote animation"

parents 1861c325 3e66fda5
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -308,11 +308,11 @@ class RemoteAnimationController implements DeathRecipient {
                mService.closeSurfaceTransaction("RemoteAnimationController#finished");
                mIsFinishing = false;
            }
        }
            // Reset input for all activities when the remote animation is finished.
            final Consumer<ActivityRecord> updateActivities =
                    activity -> activity.setDropInputForAnimation(false);
            mDisplayContent.forAllActivities(updateActivities);
        }
        setRunningRemoteAnimation(false);
        ProtoLog.i(WM_DEBUG_REMOTE_ANIMATIONS, "Finishing remote animation");
    }