Merge "Add more logging for bug 6499508 (getting warmer!)" into jb-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
1f3c11b795
@@ -174,6 +174,13 @@ public class RecentsPanelView extends FrameLayout implements OnItemClickListener
|
||||
public View getView(int position, View convertView, ViewGroup parent) {
|
||||
if (convertView == null) {
|
||||
convertView = createView(parent);
|
||||
if (convertView.getParent() != null) {
|
||||
throw new RuntimeException("Recycled child has parent");
|
||||
}
|
||||
} else {
|
||||
if (convertView.getParent() != null) {
|
||||
throw new RuntimeException("Recycled child has parent");
|
||||
}
|
||||
}
|
||||
ViewHolder holder = (ViewHolder) convertView.getTag();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user