summaryrefslogtreecommitdiffstats
path: root/core/java/android/view/ViewGroup.java
diff options
context:
space:
mode:
authorSvetoslav <svetoslavganov@google.com>2015-01-23 22:38:30 +0000
committerandroid-build-merger <android-build-merger@google.com>2015-01-23 22:38:30 +0000
commit166aa68630c04787caf88fc6b9e369efe7543fc6 (patch)
tree2962f38cffdf905d8db978a5608eed919fe823ec /core/java/android/view/ViewGroup.java
parent50f316051a7d5f4d1b86267304a4d657fb175c3d (diff)
parent9027d7355e8e804307902fb5ec88cf54e23cdcb4 (diff)
downloadframeworks_base-166aa68630c04787caf88fc6b9e369efe7543fc6.zip
frameworks_base-166aa68630c04787caf88fc6b9e369efe7543fc6.tar.gz
frameworks_base-166aa68630c04787caf88fc6b9e369efe7543fc6.tar.bz2
am 42a13865: Merge "Accessibilty: Cannot click on views in a scrollable container covered by the toolbar." into lmp-mr1-dev automerge: 6e9f276
automerge: 9027d73 * commit '9027d7355e8e804307902fb5ec88cf54e23cdcb4': Accessibilty: Cannot click on views in a scrollable container covered by the toolbar.
Diffstat (limited to 'core/java/android/view/ViewGroup.java')
-rw-r--r--core/java/android/view/ViewGroup.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/view/ViewGroup.java b/core/java/android/view/ViewGroup.java
index d03e098..ee9845f 100644
--- a/core/java/android/view/ViewGroup.java
+++ b/core/java/android/view/ViewGroup.java
@@ -831,8 +831,8 @@ public abstract class ViewGroup extends View implements ViewParent, ViewManager
// Clip the bounds by our bounds.
bounds.left = Math.max(bounds.left, 0);
bounds.top = Math.max(bounds.top, 0);
- bounds.right = Math.min(bounds.right, mRight);
- bounds.bottom = Math.min(bounds.bottom, mBottom);
+ bounds.right = Math.min(bounds.right, getWidth());
+ bounds.bottom = Math.min(bounds.bottom, getHeight());
Iterator<View> iterator = obtainOrderedChildIterator();
while (iterator.hasNext()) {