mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 15:56:49 +00:00
Preventing zoom-in animation from running everytime the app updates.
Bug: 22557455 Change-Id: I3ac1212a2f319397cd18be8f4452047d974312b8
This commit is contained in:
@@ -213,6 +213,10 @@ class PreloadIconDrawable extends Drawable {
|
||||
return mAnimationProgress;
|
||||
}
|
||||
|
||||
public boolean hasNotCompleted() {
|
||||
return mAnimationProgress < ANIMATION_PROGRESS_COMPLETED;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getIntrinsicHeight() {
|
||||
return mIcon.getIntrinsicHeight();
|
||||
|
||||
Reference in New Issue
Block a user