summaryrefslogtreecommitdiff
path: root/libs/rs/rsProgramFragment.cpp
diff options
context:
space:
mode:
author Dianne Hackborn <hackbod@google.com> 2010-01-04 18:43:19 -0800
committer Dianne Hackborn <hackbod@google.com> 2010-01-05 15:47:05 -0800
commit03abb8179f0d912e6dabfc0e2b0f129d85066d17 (patch)
tree96bb3a814c750fd498db0171dab2e40bb9b1ae8f /libs/rs/rsProgramFragment.cpp
parent129ef0aab3506f3cd80506843f42813ba20ce8ea (diff)
Kill the task killers.
The ActivityManager.restartPackage() API is now deprecated, and no longer allows applications to mess up the state of other applications. This was being abused by task killers, causing users to think their other applications had bugs. A new API is introduced for task killers, ActivityManager.killBackgroundProcesses(), which allows these applications to kill processes but only the same amount that the out of memory killer does, thus causing no permanent damage. The old restartPackage() API is now a wrapper for calling this new API. There is also a new private forceStopPackage() API that is used for the system's force stop UI which does what the old restartPackage() API did.
Diffstat (limited to 'libs/rs/rsProgramFragment.cpp')
0 files changed, 0 insertions, 0 deletions