diff options
| author | Eric Laurent <elaurent@google.com> | 2009-07-17 12:17:14 -0700 |
|---|---|---|
| committer | Eric Laurent <elaurent@google.com> | 2009-07-23 06:03:39 -0700 |
| commit | a553c25b33c99b345cf1c8688f8df0ed8df14e5a (patch) | |
| tree | 025c461b13e66ad0ceac8d0f8d9b13fd88ae168a /cmds/system_server | |
| parent | ebd7bc54028949619bbf3fa5ed6c1188f588c230 (diff) | |
| download | frameworks_base-a553c25b33c99b345cf1c8688f8df0ed8df14e5a.zip frameworks_base-a553c25b33c99b345cf1c8688f8df0ed8df14e5a.tar.gz frameworks_base-a553c25b33c99b345cf1c8688f8df0ed8df14e5a.tar.bz2 | |
Fix issue 1795088 Improve audio routing code
Initial commit for review.
Integrated comments after patch set 1 review.
Fixed lockup in AudioFlinger::ThreadBase::exit()
Fixed lockup when playing tone with AudioPlocyService startTone()
Diffstat (limited to 'cmds/system_server')
| -rw-r--r-- | cmds/system_server/library/system_init.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmds/system_server/library/system_init.cpp b/cmds/system_server/library/system_init.cpp index ea78461..1d57fdc 100644 --- a/cmds/system_server/library/system_init.cpp +++ b/cmds/system_server/library/system_init.cpp @@ -17,6 +17,7 @@ #include <SurfaceFlinger.h> #include <AudioFlinger.h> #include <CameraService.h> +#include <AudioPolicyService.h> #include <MediaPlayerService.h> #include <android_runtime/AndroidRuntime.h> @@ -80,6 +81,9 @@ extern "C" status_t system_init() // Start the camera service CameraService::instantiate(); + + // Start the audio policy service + AudioPolicyService::instantiate(); } // And now start the Android runtime. We have to do this bit |
