commit | 55e76949ca7464c3bd55fdc25fb3daa43466ef5c | [log] [tgz] |
---|---|---|
author | Andy Huang <ath@google.com> | Wed May 22 17:10:49 2013 -0700 |
committer | Andy Huang <ath@google.com> | Wed May 22 17:23:46 2013 -0700 |
tree | cb14d1b67acfaaae1b74ac05b9f3b202b2932380 | |
parent | d521baf3a51c9fc1306bd55e027ce57d0a1d18aa [diff] |
minimize an unnecessary critical section on the UI thread Adapter.getItemId was blocking on the cursor-advancing lock in ThreadSafeCursorWrapper, occasionally causing the UI thread to block on the background CacheLoaderTask. Changed getItemId to use the Conversation cache when feasible. Bug: 9032162 Change-Id: I19f00ceefeb52e580b1e3311c6625a4f034f0402