Fixed a bug where the clipRect was not correctly reset
We now reset the cliprect of the notifications when the view is removed from the scroller. Bug: 17187780 Change-Id: Ifa5af0683186380f54dcb169a21d2ab41ceb98a7
This commit is contained in:
@@ -1459,6 +1459,9 @@ public class NotificationStackScrollLayout extends ViewGroup
|
||||
// drawn when removed
|
||||
getOverlay().add(child);
|
||||
}
|
||||
|
||||
// Make sure the clipRect we might have set is removed
|
||||
child.setClipBounds(null);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user