diff options
author | Eric Laurent <elaurent@google.com> | 2011-01-18 18:39:02 -0800 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2011-01-19 09:04:27 -0800 |
commit | 01635943012f82ed714f00ee357003519f3de45d (patch) | |
tree | 92ad85f31572a059f2f5a61ae2724cf976b1cd6d /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 6cfc7a0acb0d3b202ae1dbee88e7e8bdfaee5590 (diff) |
Tentative fix for issue 3362362.
The problem is likely that one method is called on the AudioPolicyManagerBase
instance while it is still being constructed by AudioPolicyService.
To avoid this, the AudioPolicyService mutex is held by the constructor until the
platform specific AudioPolicyManager is constructed and the member
mpPolicyManager initialized.
Also added an initCheck() method to AudioPolicyInterface to verify successful
initialization of AudioPolicyManager.
A similar change is done in AudioFlinger constructor.
Also added some missing protections in AudioFlinger methods where the
playback thread list is parsed.
Change-Id: I006b244ec057e1bb0aa5ebe426ef006e3b171056
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions