]> source.dussan.org Git - vaadin-framework.git/commitdiff
#8763 requiresTouchScrollDelegate now returns false for iOS5; the default return...
authorJohannes Dahlström <johannes.dahlstrom@vaadin.com>
Mon, 7 May 2012 13:20:37 +0000 (13:20 +0000)
committerJohannes Dahlström <johannes.dahlstrom@vaadin.com>
Mon, 7 May 2012 13:20:37 +0000 (13:20 +0000)
svn changeset:23686/svn branch:6.8

src/com/vaadin/terminal/gwt/client/BrowserInfo.java

index 8ec610c089d90b4fa7e7c52dac9f13900d48a24d..5e496bd05d62115266fe4d2b42d1efd24703aa1c 100644 (file)
@@ -445,15 +445,13 @@ public class BrowserInfo {
         if (!isTouchDevice()) {
             return false;
         }
-
-        if (isAndroid() && isWebkit() && getWebkitVersion() < 534) {
-            return true;
+        if (isAndroid() && isWebkit() && getWebkitVersion() >= 534) {
+            return false;
         }
-        // if (isIOS() && isWebkit() && getWebkitVersion() < ???) {
-        // return true;
-        // }
-
-        return false;
+        if (isIOS() && isWebkit() && getWebkitVersion() >= 534) {
+            return false;
+        }
+        return true;
     }
 
     /**