summaryrefslogtreecommitdiff
path: root/core/java/android/widget/TextView.java
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2021-10-08 13:45:07 -0700
committerSteven Moreland <smoreland@google.com>2021-10-08 13:45:07 -0700
commita4530ceabcd28914cf824def5b90e00e27265c49 (patch)
treeaa83c930db550cf11dc48df1b4f9c6eb8ee77d3e /core/java/android/widget/TextView.java
parentc03b0fa033117c03430e361d561aa910e95a0478 (diff)
Parcel: remove use of getOpenAshmemSize
Parcel native pointers are created when the Parcel is created, and they are destroyed in finalize. When a Java object is finalized, we shouldn't be calling methods on this (note - due to the way that compareData is written, it will throw NPE if otherParcel is null - and if this were not the case, the use of getOpenAshmemSize here - which will frequently be zero - would break the comparison here). Bug: 195752513 Test: atest android.os.ParcelTest android.os.cts.ParcelTest Change-Id: Iad86624d6e0aad2ca37273ddbcb456dff7f48d46
Diffstat (limited to 'core/java/android/widget/TextView.java')
0 files changed, 0 insertions, 0 deletions