Merge "Fixed a NP when clearing notifications"
This commit is contained in:
committed by
Android (Google) Code Review
commit
8c07286d2c
@@ -3066,7 +3066,7 @@ public class NotificationStackScrollLayout extends ViewGroup
|
||||
}
|
||||
if (!childWasSwipedOut) {
|
||||
Rect clipBounds = child.getClipBounds();
|
||||
childWasSwipedOut = clipBounds.height() == 0;
|
||||
childWasSwipedOut = clipBounds != null && clipBounds.height() == 0;
|
||||
}
|
||||
int animationType = childWasSwipedOut
|
||||
? AnimationEvent.ANIMATION_TYPE_REMOVE_SWIPED_OUT
|
||||
|
||||
Reference in New Issue
Block a user