summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Lee Shombert <shombert@google.com> 2024-08-01 15:09:31 -0700
committer Lee Shombert <shombert@google.com> 2024-08-03 01:53:11 +0000
commit64ef04b4d0685b2e3cac28f4881cd770a09510c8 (patch)
tree4609b1973e0b788656556108c72d6b4b0bb6201d /libs/androidfw/misc.cpp
parenta23abe6b2593d25927e74be793f1b137c718228c (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