From: Johannes Dahlström Date: Thu, 26 Apr 2012 13:06:18 +0000 (+0000) Subject: #8551 Add isAndroid() test X-Git-Tag: 7.0.0.alpha3~259^2~13 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3d61fc01830342f2a8bba628e754648ac6370a0c;p=vaadin-framework.git #8551 Add isAndroid() test svn changeset:23640/svn branch:6.8 --- diff --git a/src/com/vaadin/terminal/gwt/client/ui/VNotification.java b/src/com/vaadin/terminal/gwt/client/ui/VNotification.java index efac4ad9a3..2ee66d01ca 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/VNotification.java +++ b/src/com/vaadin/terminal/gwt/client/ui/VNotification.java @@ -155,7 +155,9 @@ public class VNotification extends VOverlay { * Android 4 fails to render notifications correctly without a little * nudge (#8551) */ - Util.setStyleTemporarily(getElement(), "display", "none"); + if (BrowserInfo.get().isAndroid()) { + Util.setStyleTemporarily(getElement(), "display", "none"); + } } @Override