summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2015-12-04 13:11:09 -0800
committerDianne Hackborn <hackbod@google.com>2015-12-08 12:45:18 -0800
commit2639c4bf6b98fb60a47f7398966d184a0aea1950 (patch)
tree569f4b0549553415cee6744a2ef17f0279fc27ba /tools/aapt2/java/JavaClassGenerator.cpp
parentd35c13df6e9befe6e63a10f7ef83183e7682affa (diff)
New generic background restrictions.
This modifies the existing rigid background restriction to a more moderate policy that we can (eventually) apply to all apps: - After N minutes no longer in the foreground, any background services running in the app are stopped and no more can be started. - No manifest receivers for the application will be executed if the broadcast is not being sent explicitly to that app and the app is not running. (Eventually we should tighten this so they won't be received if the app is past its N minute background window.) - Other non-background processes may still bind to services in the background process, which will raise it to back to an executing state... so things like syncs, jobs, live wallpapers, accessibility services, etc still work. Change-Id: I08ddbfdf640ef324a27b2eb9eecd9499f3ebddd9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions