summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2017-01-12 15:10:57 -0800
committerDianne Hackborn <hackbod@google.com>2017-01-20 15:03:41 -0800
commit85e35643ba245c2d2b96662989aa505f04204cd7 (patch)
tree7347926899130563ed77d101a5dc31a96b7473a0 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent9553a1ecc213625d9d3052138a5ed1eb3ed5910d (diff)
Improve behavior of bg check.
There is a new APP_START_MODE_DELAYED_RIGID which means that things discovering something is not allowed to start should report a clear error back to the caller. This is how apps that opt in to bg check should behave, and will now be used if the app op mode is set to ERRORED. This (for now?) removes the code that allows services to be started if the request is coming from a foreground process. That behavior isn't in the current bg check spec, and probably not what we want as the standard platform model (since it makes knowing when a service can start even harder to determine). It was originally done for the experimental bg check work in N to see how much we could avoid breaking existing apps, so not relevant when apps need to explicitly opt in. Also report temporary whitelist changes to activity manager for it to lift background restrictions temporarily for apps. Being on the whitelist is now part of UidRecord, preventing a uid from going idle. Test: Initial CTS test added. Change-Id: I36fd906fa69de8b7ff360605ae17c088f182e172
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions