Avoid generating an outline that is not contained within view's bounds.
Given that the outline rect starts with an origin of (-1,-1) when we combine that with the clipRect that has an origin of (0,0) it causes the HWUI renderer to perform pathOps and draw more complex shadows than necessary. Bug: 64487466 Test: SystemUiJankTests#testRecentAppsFling Change-Id: Icb932343e6bbc053335bd007d49692262dbba72a
Loading
Please register or sign in to comment