summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Varun Shah <varunshah@google.com> 2024-05-04 07:08:25 +0000
committer Varun Shah <varunshah@google.com> 2024-05-12 00:02:54 +0000
commited1cb5d46141fb7712047e5d6e37e9485dcf3203 (patch)
treeb4d5905c76fe7bc59ee377b7bfa7330ab305ce2f /libs/androidfw/StringPool.cpp
parentc7942f24d7ad46703a872f2431a78e103c9918a2 (diff)
Update time-limited FGS logic to handle parallel services.
If there are multiple foreground services running of the same type from the same uid, update the total runtime immediately when another parallel service of the same type starts. Also keep a counter of how many services are running in parallel to reset the tracking properly. Also remove redundant calls to the stop-fgs-tracking method which could affect the new tracking logic. Bug: 330399444 Test: atest CtsFgsTimeoutTestCases Change-Id: I9681b5187406eb755016ee6b86cd4162f54a26c1
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions