In My activity onCreate i'm setting the audio stream to be 


when i use the volume keys, it adjusts the call volume

and when my activity is paused

in onPause, i reset it to default stream type


even after this volume keys are tied to Call volume

For ex. if i play a video from Youtube and adjust the volume, call volume is 
adjusted not the media volume

is this is a bug in android or is there any workaround for this?

You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
To view this discussion on the web visit
For more options, visit

Reply via email to