summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2013-09-16 19:02:52 -0700
committerDianne Hackborn <hackbod@google.com>2013-09-16 19:02:52 -0700
commit0d97cd1f6a370b8e371d8b6d88d47e9aaf2bbe32 (patch)
treefda351159413019d42c01c1a601ca7a8a72201b2 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parent8a7a93e20d8755602938a56d4a88398baf2359e4 (diff)
Fix issue #10779747: Calendar Storage crash observed...
...while setting up a new user from settings. The delayed service start stuff was too aggressive -- it would allow a process to be killed between the an onReceive() that calls startService() and that service being started. This means that apps that set up global state that they expect to remain set up during that time could be lost. This is the first part of a fix, which tightens up when we allow services to be delayed. Now we will immediately start the service as long as it currently as a process running that is not in the cached state. (Previously we would delay if the process was in the receiver state.) This unfortunately means that our service start delay is much less effective. To address that, there will be a follow-on change to tie broadcast delivery into this to see if we can delay the finish of a broadcast as long as there are background services starting in that process. Change-Id: I2bba2295d10699ee3479375bbe87114b2cbb0826
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions