Skip to content
Commit 097ec945 authored by Derek Sollenberger's avatar Derek Sollenberger
Browse files

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
parent 579317d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment