diff options
| author | 2024-01-14 01:19:35 +0000 | |
|---|---|---|
| committer | 2024-01-16 19:20:47 +0000 | |
| commit | 62fbc41bced11d4a4e00a554ff4a4c27cb1c70f2 (patch) | |
| tree | 48d3c5a2ed2f56fc38c04272714a95dde92aea09 /libs/androidfw/FileStream.cpp | |
| parent | 33921055106c4769bfe4e62b4ff372fe53dcb74a (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