summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorYohei Yukawa <yukawa@google.com>2018-09-22 13:36:47 -0700
committerYohei Yukawa <yukawa@google.com>2018-09-22 13:36:47 -0700
commitbfcf9a83212eaa9a6e5bb6302cfd396162e0d5fd (patch)
treed66d38280e5a26e4f4a244f543f1554c5a6d4985 /tools/aapt2/java/JavaClassGenerator.cpp
parent21ba5d4f3f75365dd3251da6da0a8aa0c9ca0423 (diff)
Recycle PooledLambda in CameraDeviceImpl.CameraDeviceCallbacks
PooledRunnable has a nice optional method recycleOnUse(), which can be used if the Runnable is guaranteed to be executed at most once. By calling this method, PooledRunnable instance will be auto-recycled into the internal object pool once it's executed. Test: presubmit Change-Id: I6ff341be5d0abddba8134489950be0b7c1affcbb
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions