summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetManager.cpp
diff options
context:
space:
mode:
author Ioannis Ilkos <ilkos@google.com> 2024-06-03 15:42:32 +0000
committer Ioannis Ilkos <ilkos@google.com> 2024-06-03 21:18:05 +0000
commit5a104f2b8dfeb128a9401afafc7890f2a9e93556 (patch)
tree48ab7677f88b51b2bcb059712cb93ea929290f31 /libs/androidfw/AssetManager.cpp
parentde818c2e4978003afb0b434a9e1a6087d0b16cb1 (diff)
Publish TracingServiceProxy after storage has been unlocked
TracingServiceProxy depends on external system services to forward its requests to. There is an edge case where reportTrace was called before the encrypted storage was unlocked and before external services can be bound (e.g. occurs when reportTrace is concurrent to system_server starting up). This change defers the registration of the service until we are ready to accept requests. As a side-effect this also means that the device needs to be unlocked before the service is published. Bug: 333846370 Test: atest PerfettoReporterTest Test: boot device without lock and invoke perfetto reporting (verify the report is accepted immediately) Test: boot device with lock and invoke perfetto reporting (verify the report is accepted after unlocking) Test: invoke perfetto reporting concurrent to kill -9 `pidof system_server` Change-Id: Ibb75c3e314d30b18cdc32e3774be1ee8022960b1
Diffstat (limited to 'libs/androidfw/AssetManager.cpp')
0 files changed, 0 insertions, 0 deletions