summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Jing Ji <jji@google.com> 2021-12-11 03:14:45 -0800
committer Jing Ji <jji@google.com> 2022-01-25 14:33:21 -0800
commit64ac1a923065d38fa33789b315c716f4c93312fc (patch)
tree0b8bb131d80124486bf764c3207f57b723631f8b /libs/androidfw/StringPool.cpp
parent0c6603973ad136a3e730d0fb8c571d9468db2f6c (diff)
Monitor long-running foreground services
If a certain package has foreground services running for a long time, say the accumulated durations over last X hours are more than Y hours, system will post a notification to remind the user. Some type of apps are subjected to be exempted, i.e. if it's already in the device idle allowlist. More exemption could be added in the follow-up CLs. Bug: 200326767 Bug: 203105544 Test: atest FrameworksMockingServicesTests:BackgroundRestrictionTest Change-Id: I3a8f34c33e7a533240abc7cf4fa569a0956eec73
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions