summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Hongwei Wang <hwwang@google.com> 2023-08-01 16:00:31 -0700
committer Hongwei Wang <hwwang@google.com> 2024-05-20 13:30:07 -0700
commitadd219bcb2aa3654ed8614f150b664be1161812d (patch)
tree80433c00fe4edc52dac6cb1509510950475f89d2 /libs/androidfw/StringPool.cpp
parent408cac13c0bc7a9bfb1cea800758cff40c8180ac (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. Note that CountQuotaTrack is initialized out of the WM lock to avoid dead lock with the AM one. Bug: 283103220 Test: Manually, using the POC app Test: Manually, switching YT PiP video functions at a regular rate Test: atest WindowOrganizerTests ActivityThreadTest Merged-In: Icb7dd17bbf7df573a9bb28f3dc56e90e78384f4f Change-Id: Icb7dd17bbf7df573a9bb28f3dc56e90e78384f4f
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions