Merge "Merge "Parcel: noop upon double recycle" am: 0c35c51d71 am: 79ff332cac" into tm-qpr-dev-plus-aosp
This commit is contained in:
committed by
Android (Google) Code Review
commit
330457eb02
@@ -562,9 +562,11 @@ public final class Parcel {
|
||||
*/
|
||||
public final void recycle() {
|
||||
if (mRecycled) {
|
||||
Log.w(TAG, "Recycle called on unowned Parcel. (recycle twice?) Here: "
|
||||
Log.wtf(TAG, "Recycle called on unowned Parcel. (recycle twice?) Here: "
|
||||
+ Log.getStackTraceString(new Throwable())
|
||||
+ " Original recycle call (if DEBUG_RECYCLE): ", mStack);
|
||||
|
||||
return;
|
||||
}
|
||||
mRecycled = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user