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

Commit b159f28f authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

Merge "Skip parceling destroyed buffer" into rvc-dev

parents 8fd8a538 5bd2a157
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2231,7 +2231,8 @@ public class ActivityManager {
        public void writeToParcel(Parcel dest, int flags) {
            dest.writeLong(mId);
            ComponentName.writeToParcel(mTopActivityComponent, dest);
            dest.writeParcelable(mSnapshot, 0);
            dest.writeParcelable(mSnapshot != null && !mSnapshot.isDestroyed() ? mSnapshot : null,
                    0);
            dest.writeInt(mColorSpace.getId());
            dest.writeInt(mOrientation);
            dest.writeInt(mRotation);