mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 01:46:49 +00:00
Set disabled state when getting new icon from DrawableFactory.
Change-Id: Ic9c508d24cc0e65d45f5c1f4bcbe8d5cd7fb9200
This commit is contained in:
@@ -501,10 +501,8 @@ public class LauncherAppTransitionManagerImpl extends LauncherAppTransitionManag
|
||||
mFloatingView = new View(mLauncher);
|
||||
if (isBubbleTextView && v.getTag() instanceof ItemInfoWithIcon ) {
|
||||
// Create a copy of the app icon
|
||||
ItemInfoWithIcon info = (ItemInfoWithIcon) v.getTag();
|
||||
FastBitmapDrawable d = DrawableFactory.get(mLauncher).newIcon(info);
|
||||
d.setIsDisabled(info.isDisabled());
|
||||
mFloatingView.setBackground(d);
|
||||
mFloatingView.setBackground(
|
||||
DrawableFactory.get(mLauncher).newIcon((ItemInfoWithIcon) v.getTag()));
|
||||
}
|
||||
|
||||
// Position the floating view exactly on top of the original
|
||||
|
||||
Reference in New Issue
Block a user