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

Commit b5c79e14 authored by Steven Moreland's avatar Steven Moreland
Browse files

Parcel: recycle recycles

Before, it was like getting a used pan with food stuck on it. We run
a clean ship here. You want a Parcel? You get a fresh Parcel. When
we recycle a Parcel, we do a real clean-up job. Air freshener. All
bits brushed over. These Parcel objects are clean as heck now!

(specifically cleans mClassCookies)

Bug: 208279300
Test: build
Merged-In: I250872f5c6796bb64e2dc68008154c0e90feb218
Change-Id: I250872f5c6796bb64e2dc68008154c0e90feb218
(cherry picked from commit 46770fa4)
parent 63257e0e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -416,6 +416,7 @@ public final class Parcel {
     */
    public final void recycle() {
        if (DEBUG_RECYCLE) mStack = null;
        mClassCookies = null;
        freeBuffer();

        final Parcel[] pool;