summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Jigar Thakkar <jigarthakkar@google.com> 2024-01-14 01:19:35 +0000
committer Jigar Thakkar <jigarthakkar@google.com> 2024-01-16 19:20:47 +0000
commit62fbc41bced11d4a4e00a554ff4a4c27cb1c70f2 (patch)
tree48d3c5a2ed2f56fc38c04272714a95dde92aea09 /libs/androidfw/FileStream.cpp
parent33921055106c4769bfe4e62b4ff372fe53dcb74a (diff)
Move quiet mode operations to a separate thread
The setQuietModeEnabled method is often called asynchronously on a background thread. This has been a reason for noticeable delays caused when the system server background thread is busy. With this change, we are moving the operation to a separte thread using a ThreadPoolExecutor of size 1. Test: Tested locally on device by adding logs and capturing pertto traces Bug: 303201022 Change-Id: I71faf0d11115e5fa4828632c28778d3add9e62f2
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions