Merge "Fixes a bug to not be able to scroll widgets intoduced when enabling to swipe allapps from everywhere." into ub-launcher3-master
diff --git a/src/com/android/launcher3/LauncherAppWidgetHostView.java b/src/com/android/launcher3/LauncherAppWidgetHostView.java
index 1429df5..61b8a7a 100644
--- a/src/com/android/launcher3/LauncherAppWidgetHostView.java
+++ b/src/com/android/launcher3/LauncherAppWidgetHostView.java
@@ -135,8 +135,6 @@
 
         // The provider info or the views might have changed.
         checkIfAutoAdvance();
-
-        mIsScrollable = checkScrollableRecursively(this);
     }
 
     private boolean checkScrollableRecursively(ViewGroup viewGroup) {
@@ -383,6 +381,8 @@
                 }
             });
         }
+
+        mIsScrollable = checkScrollableRecursively(this);
     }
 
     @Override