commit | 62fbc41bced11d4a4e00a554ff4a4c27cb1c70f2 | [log] [tgz] |
---|---|---|
author | Jigar Thakkar <jigarthakkar@google.com> | Sun Jan 14 01:19:35 2024 +0000 |
committer | Jigar Thakkar <jigarthakkar@google.com> | Tue Jan 16 19:20:47 2024 +0000 |
tree | 48d3c5a2ed2f56fc38c04272714a95dde92aea09 | |
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