diff options
author | Jeff Brown <jeffbrown@google.com> | 2011-06-10 21:34:48 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2011-06-10 23:24:49 -0700 |
commit | fc442bdea14289656ef1f537103578eb71faf473 (patch) | |
tree | 49edd417cf8b1463993a52cc234d0edab439c849 /telephony | |
parent | eaf7ce6067707fcebd58067135376af51858d2e5 (diff) | |
download | frameworks_base-fc442bdea14289656ef1f537103578eb71faf473.zip frameworks_base-fc442bdea14289656ef1f537103578eb71faf473.tar.gz frameworks_base-fc442bdea14289656ef1f537103578eb71faf473.tar.bz2 |
Ensure the RemoteViewsAdapter cleans up its HandlerThread.
Using a finalizer for this is kind of gross but it is robust.
We could try to hook onDetachedFromWindow() on the View
but that would introduce additional lifecycle management to
the adapter since a View could potentially be detached and then
reattached, so we might need to recreate the handler, etc.
Ideally this code should probably be changed to use AsyncTask.
Change-Id: I9ad5fff388411619363e4a075ed0244966b38726
Diffstat (limited to 'telephony')
0 files changed, 0 insertions, 0 deletions