Bug 1132720 - Hide the dialog on animation end to prevent flicker on Activity.finish(). r=margaret

--HG--
extra : rebase_source : ea91db60b92fa061fd2493849702388c4e6aa01b
This commit is contained in:
Michael Comella 2015-02-20 10:47:47 -08:00
parent 6aca4957a6
commit df6212a7f2

View File

@ -376,6 +376,9 @@ public class ShareDialog extends Locales.LocaleAwareActivity implements SendTabT
@Override
public void onAnimationEnd(Animation animation) {
// (bug 1132720) Hide the View so it doesn't flicker as the Activity closes.
ShareDialog.this.setVisible(false);
finish();
}