Adding debug code for LauncherModel crash

Change-Id: I9b8c053707cd5714874006c249651a69378569d2
This commit is contained in:
Michael Jurka committed 2012-06-25 15:04:47 -07:00
1 parent 8bd65f5c57
commit 816474f06b
2 files changed
+36 -1

No files matched your search

@@ -110,6 +110,14 @@ public class BubbleTextView extends TextView {
return who == mBackground || super.verifyDrawable(who);
}
@Override
public void setTag(Object tag) {
if (tag != null) {
LauncherModel.checkItemInfo((ItemInfo) tag);
}
super.setTag(tag);
}
@Override
protected void drawableStateChanged() {
if (isPressed()) {