Hack is the right word for this. And modifying the platform belongs on android-porting, not here; thanks.
On Tue, Mar 2, 2010 at 7:26 PM, ani <[email protected]> wrote: > There is a use case when user doesn't want the notifications sound to > be recorded.As of now if recording is going on > (messaging->attach audio->record audio) and notifications(message > notifications,usb notification) comes,it is also getting > recorded.Which i don't want. > If you can just provide me a hack i would be greatful. > I think i can add a api to AudioManager.java file and use a boolean > value to check if recording is going on or not.This boolean value i > can set in recording application when recording is going on or not and > unset it when i recording is stopped.Based on this check i can play > notifications sound.Please comment on this. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

