summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2014-06-12 22:38:59 -0700
committerJeff Brown <jeffbrown@google.com>2014-06-17 18:20:42 -0700
commit2c43c339de5aaf4fef58aa9b5ac3af48609263a8 (patch)
treea6ffedae0013f7c54483fdf9cd60de6fb6e22b46 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent12758423770455f75fede0cb47d743ea18640f2f (diff)
Resolve boot time dependencies related to the power manager.
This change fixes a bug where native daemons may try to communicate with the power manager before it was fully initialized due to a race between publishing the binder service and completing init(). The solution was to simplify the dependencies related to the power manager. It turns out that most services that were passed in init are not actually needed until systemReady. What remained was a dependency on the activity manager to check permissions for incoming calls. So now we start activity manager first. However, the activity manager also depends on power manager for wakelocks. To break the cycle, we now defer initializing the activity manager's wakelocks until after the power manager has been started. Cleaned up a bunch of boot-time service dependencies so that we can have better confidence that they are correctly maintained. Bug: 13884219 Change-Id: If08e2d7ccd44e7026a72441bb6bd5afd7bb9fffe
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions