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:
Selim Cinek
2014-08-25 15:45:33 +02:00
parent 17a327ad05
commit c0f4c01321

View File

@@ -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);
}
/**