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:
@@ -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