teamhacksung/android_device_samsung_i9100 — pull request #1 by StevenHarperUK (2012-08-02 18:25:00+00:00)
Title: Add Dock USB Audio Support for Samsung Car / Desk Docks 2 of 2

This adds a new Tab in the GalaxyS2Settings.apk called Dock

There is a new section in this for Dock Audio.
A new Checkbox sets the users preference to route the Dock Audio

On Startup or when the checkbox is changed, an intent is fired

This intent is recieved by the services/java/com/android/server/WiredAccessoryObserver.java

See 1 of 2
http://review.cyanogenmod.com/#/c/20586/