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

Commit 0ebf8813 authored by Sunny Goyal's avatar Sunny Goyal
Browse files

Fixing wrong actions were written to parcel when copying

Bug: 66901470
Test: Manual and CTS
Change-Id: I292e0e7d890d4da522045f434982aeeae35eb0fe
parent 743f6c37
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2340,7 +2340,7 @@ public class RemoteViews implements Parcelable, Filter {

        if (src.mActions != null) {
            Parcel p = Parcel.obtain();
            writeActionsToParcel(p);
            src.writeActionsToParcel(p);
            p.setDataPosition(0);
            // Since src is already in memory, we do not care about stack overflow as it has
            // already been read once.