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

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

Parcel: more stacks printed when recycle twice.

We can print the second stack by default.

Bug: 243768096
Test: N/A
Change-Id: I49d4e72f87c15fc04ddf94a19ff8f76512b6ebbc
parent b6574193
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -560,7 +560,9 @@ public final class Parcel {
     */
    public final void recycle() {
        if (mRecycled) {
            Log.w(TAG, "Recycle called on unowned Parcel. (recycle twice?)", mStack);
            Log.w(TAG, "Recycle called on unowned Parcel. (recycle twice?) Here: "
                    + Log.getStackTraceString(new Throwable())
                    + " Original recycle call (if DEBUG_RECYCLE): ", mStack);
        }
        mRecycled = true;