OSDN Git Service

Fix leftover artifacts from sliding Recents items out
authorChet Haase <chet@google.com>
Mon, 18 Jul 2011 21:03:21 +0000 (14:03 -0700)
committerChet Haase <chet@google.com>
Mon, 18 Jul 2011 21:03:21 +0000 (14:03 -0700)
commitc986b3598c76c2b163ea0e8c4fd1de0866438bfa
treeab35d39b1c5e86b68ca17e22d43e27b3e88e1925
parentabb7d66049c176459779a22810b3931d263f68e6
Fix leftover artifacts from sliding Recents items out

When items were removed from the Recents list, the removeViewInLayout()
method was being called instead of removeView(). This avoided proper
layout and invalidation from occurring, which sometimes resulted in
detritus on the screen since the framework wasn't updating the area
last occupied by the item.

Change-Id: I43132d06df1714f00c399d34908e4d6dd0a8d5c6
packages/SystemUI/src/com/android/systemui/recent/RecentsHorizontalScrollView.java
packages/SystemUI/src/com/android/systemui/recent/RecentsVerticalScrollView.java