summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Kwangkyu Park <kk48.park@samsung.corp-partner.google.com> 2023-06-20 23:08:09 +0900
committer Emilian Peev <epeev@google.com> 2023-06-26 16:15:37 -0700
commit7ebffbe2c0db80e5a4191d5236ca086bbd55cc17 (patch)
tree532d0a89aab4b1765ada006c2666fd447a5c3e38 /libs/androidfw/FileStream.cpp
parent4694c51dd5553ae132a170ac31b05eef6cd4a0f9 (diff)
Camera: Address device state listener delay
For the long running process with the frequent camera characteristic acquiring, the size of mDeviceStateListeners could increase significantly. This could cause a delay when removeAll() is invoked from handleStateChange(). This change will address this by removing old listeners when we add a new one. Bug: 288070122 Test: Manual test with a foldable device with frequent camera characteristic acquiring Change-Id: I84c807f00c876734df06d244675e39e9cfc868a2
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions