summaryrefslogtreecommitdiff
path: root/services/java/com/android/server/WindowManagerService.java
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2011-01-18 18:42:33 -0800
committerJeff Brown <jeffbrown@google.com>2011-01-18 18:42:33 -0800
commitfb75738ee28839c67bef4abc15d6c7a407c34f55 (patch)
treeec0e5fbad94b92b3e2958391dd9cce0c4263cb07 /services/java/com/android/server/WindowManagerService.java
parent36c84403ec07439d11ed284ac5f9a9db807fbf92 (diff)
Never drag scroll views with no children.
Fixes a regression from Froyo. Previously, when a scroll view had no children, its onTouchEvent would return because the scroll view would only start dragging if the user touched one of its children. In Gingerbread, the user can drag from anywhere within the scroll view, not just by touching a child. However, it makes no sense to drag a scroll view that has no children so an empty scroll view should just ignore touches like any other empty view group would. This change fixes applications that for some reason or other happen to have empty scroll views in strange places. Bug: 3246230 Change-Id: Iada6e886e8363e6778f42fc4861de228512d8bed
Diffstat (limited to 'services/java/com/android/server/WindowManagerService.java')
0 files changed, 0 insertions, 0 deletions