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

Commit 25c84b33 authored by Anthony Chen's avatar Anthony Chen Committed by Android (Google) Code Review
Browse files

Merge "Fix bug where RemoteViews addView is backwards." into oc-dr1-dev

parents 1b59a9cc ea202f66
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1578,12 +1578,14 @@ public class RemoteViews implements Parcelable, Filter {
        ViewGroupActionAdd(Parcel parcel, BitmapCache bitmapCache, ApplicationInfo info,
                int depth) {
            viewId = parcel.readInt();
            mIndex = parcel.readInt();
            mNestedViews = new RemoteViews(parcel, bitmapCache, info, depth);
        }

        public void writeToParcel(Parcel dest, int flags) {
            dest.writeInt(VIEW_GROUP_ACTION_ADD_TAG);
            dest.writeInt(viewId);
            dest.writeInt(mIndex);
            mNestedViews.writeToParcel(dest, flags);
        }