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-07 14:29:32 -0700
commit17b00deed56a6bbd3b78fbac76c2f1089f615002 (patch)
tree61803cb1c9954ec649c8198f4145a9902b815d0e /libs/androidfw/StringPool.cpp
parentd24e1edfc6863008beeb550460dec86c2a2cd9f3 (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 Change-Id: Icb7dd17bbf7df573a9bb28f3dc56e90e78384f4f
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions