diff options
| author | 2023-08-01 16:00:31 -0700 | |
|---|---|---|
| committer | 2024-04-25 16:19:05 -0700 | |
| commit | 4024e95bef881136b26f0fb1ba859a02751f9cd7 (patch) | |
| tree | 6b3bcb375116d755c7abcfc3928af1a6ee09d65b /libs/input/SpriteController.cpp | |
| parent | 41f79f5568fe42613d75b2797043b163cee4da81 (diff) | |
Rate limiting PiP aspect ratio change request
Using CountQuotaTrack to limit how frequent an app can request aspect
ratio change via PictureInPictureParams, which could result flood of PiP
resizing requests and freeze the PiP window.
Bug: 283103220
Test: Manually, using the POC app
Test: Manually, switching YT PiP video functions at a regular rate
Test: atest WindowOrganizerTests
Change-Id: I19c1feac3dd3b5eded0724e2c878d3249845d5d9
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions