[automerger] Fix bug where recycled BubbleTextView kept their badges. am: 5254944a68

Change-Id: Icb486e7a529aae15d5f959487c489ef1ad5798b1
This commit is contained in:
Android Build Merger (Role) committed 2017-10-26 18:35:10 +00:00
commit 232d7196fa
2 files changed
+10

No files matched your search

@@ -178,6 +178,15 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver,
}
/**
* Resets the view so it can be recycled.
*/
public void reset() {
mBadgeInfo = null;
mBadgePalette = null;
mForceHideBadge = false;
}
public void applyFromShortcutInfo(ShortcutInfo info) {
applyFromShortcutInfo(info, false);
}