We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1989af2 commit e338115Copy full SHA for e338115
core/java/android/view/ViewGroup.java
@@ -3304,7 +3304,7 @@ public boolean gatherTransparentRegion(Region region) {
3304
boolean noneOfTheChildrenAreTransparent = true;
3305
for (int i = 0; i < count; i++) {
3306
final View child = children[i];
3307
- if ((child.mViewFlags & VISIBILITY_MASK) != GONE || child.getAnimation() != null) {
+ if ((child.mViewFlags & VISIBILITY_MASK) == VISIBLE || child.getAnimation() != null) {
3308
if (!child.gatherTransparentRegion(region)) {
3309
noneOfTheChildrenAreTransparent = false;
3310
}
0 commit comments