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

Commit fc9fb407 authored by Anthony Chen's avatar Anthony Chen Committed by android-build-merger
Browse files

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

am: 25c84b33

Change-Id: I6068d24d239b7706b4c6d5ef440389d61eb9b54f
parents 9011f1b5 25c84b33
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -1578,12 +1578,14 @@ public class RemoteViews implements Parcelable, Filter {
        ViewGroupActionAdd(Parcel parcel, BitmapCache bitmapCache, ApplicationInfo info,
        ViewGroupActionAdd(Parcel parcel, BitmapCache bitmapCache, ApplicationInfo info,
                int depth) {
                int depth) {
            viewId = parcel.readInt();
            viewId = parcel.readInt();
            mIndex = parcel.readInt();
            mNestedViews = new RemoteViews(parcel, bitmapCache, info, depth);
            mNestedViews = new RemoteViews(parcel, bitmapCache, info, depth);
        }
        }


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