Adding debug code for LauncherModel crash
Change-Id: I9b8c053707cd5714874006c249651a69378569d2
This commit is contained in:
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()) {
|
||||
|
||||
Reference in new issue
Block a user