-
- Downloads
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
Showing
- services/core/java/com/android/server/am/ActiveServices.java 7 additions, 3 deletionsservices/core/java/com/android/server/am/ActiveServices.java
- services/core/java/com/android/server/am/ActivityManagerService.java 5 additions, 2 deletions...re/java/com/android/server/am/ActivityManagerService.java
Loading
Please register or sign in to comment