Fix bug where FolderIcon is invisible when closing Folder with no animation.
When we open the Folder, we set the FolderIcon to View.INVISIBLE. It is possible to close the Folder without animating it (ie. when apps are being auto added / auto closed to Work Profile Folder), and so the FolderIcon is never set to View.VISIBLE. Bug: 35064148 Change-Id: I2fc5b7ecaceffde0a3f3875870897c18e6e8dadf
This commit is contained in:
1 parent
b9b02337f7
commit
ac3a64dbf4
2 files changed
+6
-8
No files matched your search
@@ -135,12 +135,6 @@ public class FolderAnimationManager {
|
||||
public AnimatorSet getClosingAnimator() {
|
||||
AnimatorSet a = getAnimatorSet(false /* isOpening */);
|
||||
a.setInterpolator(mClosingInterpolator);
|
||||
a.addListener(new AnimatorListenerAdapter() {
|
||||
@Override
|
||||
public void onAnimationEnd(Animator animation) {
|
||||
mFolderIcon.setVisibility(View.VISIBLE);
|
||||
}
|
||||
});
|
||||
return a;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user