am 1f3c11b7: Merge "Add more logging for bug 6499508 (getting warmer!)" into jb-dev

* commit '1f3c11b7952d92ebbafa71bf0904b8137edfd440':
  Add more logging for bug 6499508 (getting warmer!)
This commit is contained in:
Michael Jurka
2012-06-02 15:32:50 -07:00
committed by Android Git Automerger

View File

@@ -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();