summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2017-04-26 13:59:47 -0700
committerDianne Hackborn <hackbod@google.com>2017-04-29 19:41:12 -0700
commit83b40f69bef4ba17bb63ac30d52f661a12d5b4f4 (patch)
tree886ed06a37a347d91230c9cc325ec7d5a4f6e71b /rs/java/android/renderscript/RenderScript.java
parent34c226d6024cb324f2acf8800d29abb3a69c1c53 (diff)
Work on issue #36891897: Need to ensure foreground services can't...
...hide themselves The activity manager now keeps track of all apps that are running foreground services and builds a notification showing them to the user. We ensure they are shown to the user for at least 30 seconds (configurable). If foreground services are executed while the screen is off, their apps will be shown to the user for at least 30 seconds after the screen turns back on. While doing this I am also adding a new process state to distinguish between "important background" stuff that should bypass bg check vs. ones that don't. By default, these now no longer bypass bg check, which is really the expected (and documented) behavior. There is a new bind flag to allow them to bypass bg check, which is currently only used by the IME. Also add some new job scheduler commands that will be used to write new tests cases for jobs timing out. Bug: 36891897 Test: manual Change-Id: Ied3f7b56444254513fd776f06b88bc0e54704958
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions