OSDN Git Service

Fixing issue with history icons getting clobbered.
authorWinson <winsonc@google.com>
Thu, 4 Feb 2016 23:08:01 +0000 (15:08 -0800)
committerWinson <winsonc@google.com>
Fri, 5 Feb 2016 01:33:26 +0000 (17:33 -0800)
commitd7eb1ef7f4827df1ecb1c3a1aa0fc3efe316f7ef
treedaf4d521c332f094816de17a7cf9ddd4fec689c1
parentb61e654b9a46e79827355104760a3ac5228380bc
Fixing issue with history icons getting clobbered.

- If the view holder is rebound before the other task is recycled, there
  could be multiple callbacks attached to different tasks for the same
  view holder, which can cause the wrong icon (which is loaded in the
  bg, to be loaded into the wrong view holder).  Now, we unbind the
  callback from the old task when the new task’s callbacks are bound.

Change-Id: If0dfada24985944daf4302c4db0616a00a770f06
packages/SystemUI/src/com/android/systemui/recents/history/RecentsHistoryAdapter.java