Loading src/com/android/launcher3/BubbleTextView.java +1 −1 Original line number Diff line number Diff line Loading @@ -912,7 +912,7 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver, @Nullable public PreloadIconDrawable applyProgressLevel() { if (!(getTag() instanceof ItemInfoWithIcon) || !((ItemInfoWithIcon) getTag()).isActiveArchive()) { || ((ItemInfoWithIcon) getTag()).isInactiveArchive()) { return null; } Loading src/com/android/launcher3/model/data/ItemInfoWithIcon.java +3 −3 Original line number Diff line number Diff line Loading @@ -168,9 +168,9 @@ public abstract class ItemInfoWithIcon extends ItemInfo { return (runtimeStatusFlags & FLAG_ARCHIVED) != 0; } /** Returns true if the app is archived and has an active install session. */ public boolean isActiveArchive() { return isArchived() && (runtimeStatusFlags & FLAG_INSTALL_SESSION_ACTIVE) != 0; /** Returns true if the app is archived and doesn't have an active install session. */ public boolean isInactiveArchive() { return isArchived() && (runtimeStatusFlags & FLAG_INSTALL_SESSION_ACTIVE) == 0; } /** Loading Loading
src/com/android/launcher3/BubbleTextView.java +1 −1 Original line number Diff line number Diff line Loading @@ -912,7 +912,7 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver, @Nullable public PreloadIconDrawable applyProgressLevel() { if (!(getTag() instanceof ItemInfoWithIcon) || !((ItemInfoWithIcon) getTag()).isActiveArchive()) { || ((ItemInfoWithIcon) getTag()).isInactiveArchive()) { return null; } Loading
src/com/android/launcher3/model/data/ItemInfoWithIcon.java +3 −3 Original line number Diff line number Diff line Loading @@ -168,9 +168,9 @@ public abstract class ItemInfoWithIcon extends ItemInfo { return (runtimeStatusFlags & FLAG_ARCHIVED) != 0; } /** Returns true if the app is archived and has an active install session. */ public boolean isActiveArchive() { return isArchived() && (runtimeStatusFlags & FLAG_INSTALL_SESSION_ACTIVE) != 0; /** Returns true if the app is archived and doesn't have an active install session. */ public boolean isInactiveArchive() { return isArchived() && (runtimeStatusFlags & FLAG_INSTALL_SESSION_ACTIVE) == 0; } /** Loading