diff options
author | Johannes Dahlström <johannes.dahlstrom@vaadin.com> | 2012-04-26 13:06:18 +0000 |
---|---|---|
committer | Johannes Dahlström <johannes.dahlstrom@vaadin.com> | 2012-04-26 13:06:18 +0000 |
commit | 3d61fc01830342f2a8bba628e754648ac6370a0c (patch) | |
tree | 31a7c709c1c3d76a3b9a5e43adff5b3b38bac2e0 /src/com/vaadin | |
parent | a09bc235f6a014d00d3e74b2b0bd8cc515ca77c7 (diff) | |
download | vaadin-framework-3d61fc01830342f2a8bba628e754648ac6370a0c.tar.gz vaadin-framework-3d61fc01830342f2a8bba628e754648ac6370a0c.zip |
#8551 Add isAndroid() test
svn changeset:23640/svn branch:6.8
Diffstat (limited to 'src/com/vaadin')
-rw-r--r-- | src/com/vaadin/terminal/gwt/client/ui/VNotification.java | 4 |
1 files changed, 3 insertions, 1 deletions
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 |