Loading core/java/android/os/BaseBundle.java +3 −4 Original line number Diff line number Diff line Loading @@ -429,10 +429,9 @@ public class BaseBundle { "Lazy values ref count below 0"); // No more lazy values in mMap, so we can recycle the parcel early rather than // waiting for the next GC run if (mLazyValues == 0) { Preconditions.checkState(mWeakParcelledData.get() != null, "Parcel recycled earlier than expected"); recycleParcel(mWeakParcelledData.get()); Parcel parcel = mWeakParcelledData.get(); if (mLazyValues == 0 && parcel != null) { recycleParcel(parcel); mWeakParcelledData = null; } } Loading Loading
core/java/android/os/BaseBundle.java +3 −4 Original line number Diff line number Diff line Loading @@ -429,10 +429,9 @@ public class BaseBundle { "Lazy values ref count below 0"); // No more lazy values in mMap, so we can recycle the parcel early rather than // waiting for the next GC run if (mLazyValues == 0) { Preconditions.checkState(mWeakParcelledData.get() != null, "Parcel recycled earlier than expected"); recycleParcel(mWeakParcelledData.get()); Parcel parcel = mWeakParcelledData.get(); if (mLazyValues == 0 && parcel != null) { recycleParcel(parcel); mWeakParcelledData = null; } } Loading