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-08 11:57:47 -0700
commit8d814cc3b2fc94c8c47861abbcb3cec72aceb07e (patch)
treee92349fb45b29c4cefedd45762396a6a353fe029 /libs/androidfw/StringPool.cpp
parent2b60d838b93f8b0728cd052fc818914d2e96b6bc (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