Android volume control for headset plug
<p>I wrote an app that allows the user to change the different volume types when the headset is plugged in and then reverts the volume level of that volume type back on disconnect. I tested it on OS 2.2 and it worked great. I just got a new phone with OS 4.0.3 (Ice cream sandwich) and ran into a problem. The OS is doing a similar thing automatically. This is causing problems because my receivers get called AFTER the os has changed the volume so I can't store the previous volume. The volume changing is just one aspect of my app. I could do an OS version test and just tell users to manage the volume manually after plugging in the headset to always have those volume levels but I don't know if Google's Android is doing this or if it is some wrapper that the phone manufacturer has written. **My question is: Is Android doing this or is the phone manufacturer? If it is Android then which version(s) of Android did they start doing this so I can disable that feature of my app?</p>

<p>I don't want to show features that won't work on the device because that makes us look bad.</p>
