]> source.dussan.org Git - vaadin-framework.git/commitdiff
#8551 Add isAndroid() test
authorJohannes Dahlström <johannes.dahlstrom@vaadin.com>
Thu, 26 Apr 2012 13:06:18 +0000 (13:06 +0000)
committerJohannes Dahlström <johannes.dahlstrom@vaadin.com>
Thu, 26 Apr 2012 13:06:18 +0000 (13:06 +0000)
svn changeset:23640/svn branch:6.8

src/com/vaadin/terminal/gwt/client/ui/VNotification.java

index efac4ad9a33d21748be2f0a7e020aff663586148..2ee66d01caeaa2b62872cbca73e618eba20c62b0 100644 (file)
@@ -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