Preventing zoom-in animation from running everytime the app updates.
Bug: 22557455 Change-Id: I3ac1212a2f319397cd18be8f4452047d974312b8
This commit is contained in:
1 parent
a1ee659e74
commit
3fcab663a1
2 files changed
+7
-2
No files matched your search
@@ -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