mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-13 18:04:35 -05:00
082bc48c32
https://review.lineageos.org/q/topic:P_asb_2022-05 https://review.lineageos.org/q/topic:P_asb_2022-06 https://review.lineageos.org/q/topic:P_asb_2022-07 https://review.lineageos.org/q/topic:P_asb_2022-08 https://review.lineageos.org/q/topic:P_asb_2022-09 https://review.lineageos.org/q/topic:P_asb_2022-10 https://review.lineageos.org/q/topic:P_asb_2022-11 https://review.lineageos.org/q/topic:P_asb_2022-12 https://review.lineageos.org/q/topic:P_asb_2023-01 https://review.lineageos.org/q/topic:P_asb_2023-02 https://review.lineageos.org/q/topic:P_asb_2023-03 https://review.lineageos.org/q/topic:P_asb_2023-04 https://review.lineageos.org/q/topic:P_asb_2023-05 https://review.lineageos.org/q/topic:P_asb_2023-06 https://review.lineageos.org/q/topic:P_asb_2023-07 accounted for via manifest change: https://review.lineageos.org/c/LineageOS/android_external_freetype/+/361250 https://review.lineageos.org/q/topic:P_asb_2023-08 accounted for via manifest change: https://review.lineageos.org/c/LineageOS/android_external_freetype/+/364606 accounted for via patches: https://review.lineageos.org/c/LineageOS/android_system_ca-certificates/+/365328 https://review.lineageos.org/q/topic:P_asb_2023-09 https://review.lineageos.org/q/topic:P_asb_2023-10 https://review.lineageos.org/q/topic:P_asb_2023-11 accounted for via patches: https://review.lineageos.org/c/LineageOS/android_system_ca-certificates/+/374916 https://review.lineageos.org/q/topic:P_asb_2023-12 https://review.lineageos.org/q/topic:P_asb_2024-01 https://review.lineageos.org/q/topic:P_asb_2024-02 https://review.lineageos.org/q/topic:P_asb_2024-03 https://review.lineageos.org/q/topic:P_asb_2024-04 Signed-off-by: Tavi <tavi@divested.dev>
36 lines
1.3 KiB
Diff
36 lines
1.3 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Steven Moreland <smoreland@google.com>
|
|
Date: Wed, 30 Mar 2022 21:46:29 +0000
|
|
Subject: [PATCH] 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 46770fa49c9a5e51a5ea5a3afc7aab0dba2e59bd)
|
|
(cherry picked from commit b5c79e141a81fa86fc834980d46886ac3c86ab11)
|
|
Merged-In: I250872f5c6796bb64e2dc68008154c0e90feb218
|
|
---
|
|
core/java/android/os/Parcel.java | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/core/java/android/os/Parcel.java b/core/java/android/os/Parcel.java
|
|
index 460f12510d45..8d44ba1ad625 100644
|
|
--- a/core/java/android/os/Parcel.java
|
|
+++ b/core/java/android/os/Parcel.java
|
|
@@ -406,6 +406,7 @@ public final class Parcel {
|
|
*/
|
|
public final void recycle() {
|
|
if (DEBUG_RECYCLE) mStack = null;
|
|
+ mClassCookies = null;
|
|
freeBuffer();
|
|
|
|
final Parcel[] pool;
|