From 3d61fc01830342f2a8bba628e754648ac6370a0c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Johannes=20Dahlstr=C3=B6m?= Date: Thu, 26 Apr 2012 13:06:18 +0000 Subject: [PATCH] #8551 Add isAndroid() test svn changeset:23640/svn branch:6.8 --- src/com/vaadin/terminal/gwt/client/ui/VNotification.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.5