diff options
| author | 2023-01-19 15:31:56 -0800 | |
|---|---|---|
| committer | 2023-01-19 15:31:56 -0800 | |
| commit | 229efaccf4695f8ae6feff4d3d231e72c5bf2aab (patch) | |
| tree | 256cf5c0488ca9fa92a0ae1955926b938251d7e5 /services/coverage/java | |
| parent | aa8ef2bcd77b62fc386c4c26c1d9568e07073463 (diff) | |
Clean up SHORT_SERVICE time change code.
- We now explicitly cancel stale timeout
- When needed, we now do so explicitly. Otherwise, we'll keep the
original handler events. The original code had an edge case bug
when startForground(SHORT_SERVICE) is called during after the timeout,
we'd post another timeout message, which would end up calling
onTimeout() again.
Test: Manual test using a test app
Bug: 257270313
Change-Id: Ic06dbb796ef16214667e9869ca9324c84fa3ab49
Diffstat (limited to 'services/coverage/java')
0 files changed, 0 insertions, 0 deletions