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

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

Merge "Null check before writing RemoteAnimationTarget proto"

parents 1c39a450 baca819d
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -246,8 +246,12 @@ public class RemoteAnimationTarget implements Parcelable {
        position.writeToProto(proto, POSITION);
        sourceContainerBounds.writeToProto(proto, SOURCE_CONTAINER_BOUNDS);
        windowConfiguration.writeToProto(proto, WINDOW_CONFIGURATION);
        if (startLeash != null) {
            startLeash.writeToProto(proto, START_LEASH);
        }
        if (startBounds != null) {
            startBounds.writeToProto(proto, START_BOUNDS);
        }
        proto.end(token);
    }