mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 16:26:47 +00:00
[automerger] Fix bug where recycled BubbleTextView kept their badges. am: 5254944a68
Change-Id: Icb486e7a529aae15d5f959487c489ef1ad5798b1
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user