diff options
| author | 2024-08-01 15:09:31 -0700 | |
|---|---|---|
| committer | 2024-08-03 01:53:11 +0000 | |
| commit | 64ef04b4d0685b2e3cac28f4881cd770a09510c8 (patch) | |
| tree | 4609b1973e0b788656556108c72d6b4b0bb6201d /libs/androidfw/misc.cpp | |
| parent | a23abe6b2593d25927e74be793f1b137c718228c (diff) | |
Handle autocork message on the background thread
The autocork feature implements a timeout with messages on a
looper. When the timeout expires, the message handler sets a system
property. This is I/O (socket read/write).
The original design handled these messages on the main thread but the
I/O causes delays. This change moves message handling to the
background thread, which is less sensitive to delays.
Flag: EXEMPT bugfix
Test: atest
* FrameworksCoreTests:PropertyInvalidatedCacheTests
Bug: 356335509
Change-Id: Ia8a416726f6aa6e9067c92ef4fd998211fc66eae
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions