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
Loading
Please register or sign in to comment