| commit | 20465375a1d0cb71cdb891235a9f8a3fba31dbf6 | [log] [tgz] |
|---|---|---|
| author | Alec Mouri <alecmouri@google.com> | Thu May 15 16:39:49 2025 +0000 |
| committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Jul 16 18:36:31 2025 -0700 |
| tree | 4012deff3cff87f340b836404a11927b20cd6c77 | |
| parent | 50a6841165baf9ac1a6495d51046bcdadefaff90 [diff] |
Don't blur too many layers An application requesting lots and lots of blurs: a. Enables pixel stealing by measuring how long it takes to perform a blur across windows b. Probably isn't very valid anyways. So, just arbitrarily pick an upper bound for blur requests that a display is allowed to manage (10), and disable everything else. Arbitrarily, pick the 10 "front-most" blurs to be respected. Bug: 399120953 Flag: EXEMPT security Test: Security PoC no longer PoCs (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:acf65e7b90c8313b3cf939d14b8299818d77cc18) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:63bb5e1c89ff74d1eb6725029769d00706a31857) Merged-In: Ie7195eb852b52aff2f58da8bd095d8684baceef6 Change-Id: Ie7195eb852b52aff2f58da8bd095d8684baceef6