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

Commit d7522ae0 authored by Gyumin Sim's avatar Gyumin Sim Committed by Automerger Merge Worker
Browse files

Merge "Fix ParcelableListBinder to send empty list" into sc-dev am: 2ae2b96c

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14234709

Change-Id: I1f06e68f7e970d05b0a22aefe6cee98a6e41f94c
parents 919cd480 2ae2b96c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -109,7 +109,7 @@ public class ParcelableListBinder<T extends Parcelable> extends Binder {
            throws RemoteException {
        int count = list.size();
        int i = 0;
        while (i < count) {
        do {
            Parcel data = Parcel.obtain();
            Parcel reply = Parcel.obtain();
            if (i == 0) {
@@ -126,6 +126,6 @@ public class ParcelableListBinder<T extends Parcelable> extends Binder {
            binder.transact(FIRST_CALL_TRANSACTION, data, reply, 0);
            reply.recycle();
            data.recycle();
        }
        } while (i < count);
    }
}