mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 15:26:58 +00:00
Merge "Set PreloadIconDrawable disabled = false when restore is complete" into ub-launcher3-master
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user