diff options
| author | 2023-10-19 18:58:23 +0000 | |
|---|---|---|
| committer | 2023-10-19 22:41:02 +0000 | |
| commit | 56e6011d77f9b4b7a03e17c404046c682bef127c (patch) | |
| tree | d3361415b5ece67bd9c68bf51b2ceaa1440ccf53 /libs/androidfw/StringPool.cpp | |
| parent | dcc15f09715287115bce1b24b391e3589355bd2a (diff) | |
Simplify the mechanism to extend the timeout of the watchdog handlers.
The current #setOneOffTimeoutForCurrentThread does not work because by setting the status of the checker to complete a new run will be scheduled quickly after with the previous timeout.
Instead we pause the thread for the given time. This is similar to the existing pause/resume mechanism.
Change-Id: I0f2977837342c66f58b3e58ff43ed164680238d5
Bug: 223256297
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions