Loading src/com/android/launcher3/PreloadIconDrawable.java +3 −2 Original line number Diff line number Diff line Loading @@ -177,8 +177,9 @@ public class PreloadIconDrawable extends Drawable { // Set the paint color only when the level changes, so that the dominant color // is only calculated when needed. mPaint.setColor(getIndicatorColor()); } else if (mIcon instanceof FastBitmapDrawable) { ((FastBitmapDrawable) mIcon).setIsDisabled(true); } if (mIcon instanceof FastBitmapDrawable) { ((FastBitmapDrawable) mIcon).setIsDisabled(level < 100); } invalidateSelf(); Loading Loading
src/com/android/launcher3/PreloadIconDrawable.java +3 −2 Original line number Diff line number Diff line Loading @@ -177,8 +177,9 @@ public class PreloadIconDrawable extends Drawable { // Set the paint color only when the level changes, so that the dominant color // is only calculated when needed. mPaint.setColor(getIndicatorColor()); } else if (mIcon instanceof FastBitmapDrawable) { ((FastBitmapDrawable) mIcon).setIsDisabled(true); } if (mIcon instanceof FastBitmapDrawable) { ((FastBitmapDrawable) mIcon).setIsDisabled(level < 100); } invalidateSelf(); Loading