diff options
| author | 2024-05-06 07:03:41 +0000 | |
|---|---|---|
| committer | 2024-05-06 07:09:35 +0000 | |
| commit | 8e1b1be29aa99acf1b3e650a1fd87ecf85002329 (patch) | |
| tree | e19027ece5149da3eb8c071ae49611529e438706 /libs/androidfw/FileStream.cpp | |
| parent | c595dc654cd2f6a4426c1993f3792044972c7798 (diff) | |
Update reset logic for time limited foreground services.
- When the app is force-stopped, reset its limits to handle cases
where the user force stops an app when it continously crashes.
- When the app is currently in the TOP state (or better), also
reset its limits even if the time limit has been exhausted
since this could be a user requested FGS start.
Bug: 330399444
Test: atest CtsFgsTimeoutTestCases
Change-Id: I80687713591cf146b70f196a4ffaeb0f3c26a1e5
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions