In My activity onCreate i'm setting the audio stream to be setVolumeControlStream(AudioManager.STREAM_VOICE_CALL);
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 setVolumeControlStream(AudioManager.USE_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 android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/abac24d9-e321-4d03-928d-980aaefdc61c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.