Bug 1017566 - Clear animation before setting visibility to GONE for Gingerbread compatibility. r=mfinkle

This commit is contained in:
Kartikaya Gupta 2014-06-07 16:47:32 -04:00
parent 1b9f6826d8
commit 647a96a8e8

View File

@ -149,6 +149,7 @@ public class ButtonToast {
// If we are showing a toast and go in the background
// onAnimationEnd will be called when the app is restored
public void onPropertyAnimationEnd() {
mView.clearAnimation();
mView.setVisibility(View.GONE);
}
public void onPropertyAnimationStart() { }