Loading iconloaderlib/src/com/android/launcher3/icons/BitmapInfo.java +5 −0 Original line number Diff line number Diff line Loading @@ -66,6 +66,10 @@ public class BitmapInfo { private ThemedBitmap mThemedBitmap; public @BitmapInfoFlags int flags; // b/377618519: These are saved to debug why work badges sometimes don't show up on work apps public @DrawableCreationFlags int creationFlags; private BitmapInfo badgeInfo; public BitmapInfo(Bitmap icon, int color) { Loading Loading @@ -162,6 +166,7 @@ public class BitmapInfo { protected void applyFlags(Context context, FastBitmapDrawable drawable, @DrawableCreationFlags int creationFlags) { this.creationFlags = creationFlags; drawable.mDisabledAlpha = GraphicsUtils.getFloat(context, R.attr.disabledIconAlpha, 1f); drawable.mCreationFlags = creationFlags; if ((creationFlags & FLAG_NO_BADGE) == 0) { Loading Loading
iconloaderlib/src/com/android/launcher3/icons/BitmapInfo.java +5 −0 Original line number Diff line number Diff line Loading @@ -66,6 +66,10 @@ public class BitmapInfo { private ThemedBitmap mThemedBitmap; public @BitmapInfoFlags int flags; // b/377618519: These are saved to debug why work badges sometimes don't show up on work apps public @DrawableCreationFlags int creationFlags; private BitmapInfo badgeInfo; public BitmapInfo(Bitmap icon, int color) { Loading Loading @@ -162,6 +166,7 @@ public class BitmapInfo { protected void applyFlags(Context context, FastBitmapDrawable drawable, @DrawableCreationFlags int creationFlags) { this.creationFlags = creationFlags; drawable.mDisabledAlpha = GraphicsUtils.getFloat(context, R.attr.disabledIconAlpha, 1f); drawable.mCreationFlags = creationFlags; if ((creationFlags & FLAG_NO_BADGE) == 0) { Loading