commit | 4024e95bef881136b26f0fb1ba859a02751f9cd7 | [log] [tgz] |
---|---|---|
author | Hongwei Wang <hwwang@google.com> | Tue Aug 01 16:00:31 2023 -0700 |
committer | Hongwei Wang <hwwang@google.com> | Thu Apr 25 16:19:05 2024 -0700 |
tree | 6b3bcb375116d755c7abcfc3928af1a6ee09d65b | |
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