commit | 64ecf8e059629f611c36b45aa857f46ac7c90f9d | [log] [tgz] |
---|---|---|
author | Josh Gargus <jjosh@google.com> | Thu Mar 01 10:49:35 2012 -0800 |
committer | Josh Gargus <jjosh@google.com> | Fri Mar 02 11:37:49 2012 -0800 |
tree | 873a424871d124210ca99068a5071da62a4aa27d | |
parent | 3693a9b92cf868fab3e0e0c7f2492e2213c634fc [diff] |
Avoid spawning extraneous threads in CallLogAdapter. The call-log was leaking one or two threads every time you swiped to it in the view-pager. This is addressed by: - strong synchronization of thread creation/destruction - idempotence: reuse existing thread instead of creating one Bug: 6086303 Change-Id: Id3de706f0961f353fe3588bac2e11e335167786a