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

Commit 4355d317 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE when finishing remote animation" into tm-qpr-dev

parents 9df8d598 7f442446
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -320,11 +320,11 @@ class RemoteAnimationController implements DeathRecipient {
            } finally {
                mService.closeSurfaceTransaction("RemoteAnimationController#finished");
            }
        }
            // 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");
    }