Recycle obtained Parcel
Bug: 218835043 Test: make Change-Id: I8a4564e2d4ad20cbbf41a12a5bec62528d19eb89
This commit is contained in:
@@ -1037,6 +1037,7 @@ public final class UsageEvents implements Parcelable {
|
||||
// Data can be too large for a transact. Write the data as a Blob, which will be written to
|
||||
// ashmem if too large.
|
||||
dest.writeBlob(data.marshall());
|
||||
data.recycle();
|
||||
}
|
||||
|
||||
public static final @android.annotation.NonNull Creator<UsageEvents> CREATOR = new Creator<UsageEvents>() {
|
||||
|
||||
Reference in New Issue
Block a user