summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorGarfield Tan <xutan@google.com>2020-06-04 19:54:25 -0700
committerGarfield Tan <xutan@google.com>2020-06-05 10:12:42 -0700
commit61d599e20a9b8962f14a48b4598678a4c542ce98 (patch)
treeb65db71be0444e2b7d43245812114fe9cffe1140 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent9f15ba2e1a42e64e03305500c4179a5ad87b7423 (diff)
Use WeakReference to hold target in values.
WeakHashMap holds strong references to values, so if we would like to have them cleaned up automatically we need make sure we don't reference the key strongly in the value. Bug: 149918957 Test: Bubble animation looks OK. Test: No GC root paths through PhysicsAnimator. Test: atest PhysicsAnimator Change-Id: I4e701bfb7f91662e18c317eaf895b5ea31e0860d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions