Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8700dfee authored by Harshit Mahajan's avatar Harshit Mahajan
Browse files

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
parent b1c2ecde
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment