diff options
author | 2024-11-29 02:13:22 +0000 | |
---|---|---|
committer | 2024-12-04 00:31:10 +0000 | |
commit | 8700dfee6929c6eec44ffee0477817ea0594c94c (patch) | |
tree | 90c8761f50aaa2a6f775ef388fbda742357151ca /cmds/bootanimation/BootAnimation.cpp | |
parent | b1c2ecde96bd06b425e19622f2c642d66801723d (diff) |
Allow observers to register custom executor
Add executor argument to PackageWatchdog#registerHealthObserver API.
Mitigations would be executed in the registered executors.
Add a check to ensure that observer has been registered before calling
startObservingHealth.
Note: This change is only in the module, we ignore the behaviour in
platform PackageWatchdog to keep existing functionality.
Bug: 361126781
Test: TH
Flag: EXEMPT refactoring
Change-Id: I18e1de9e2be15691dad30d5170ce81208c62da29
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions