Use alarm volume level for exoPlayer in android
<p>I use <code>ExoPlayer</code> for my alarm clock app and I want it to playback music using alarm volume instead of music volume (which is default). When it starts to playback, volume should be increased gradually from mute to the current alarm volume level.</p>

<p>I can totally get both current and maximum volume levels but I can't find any methods in <code>ExoPlayer</code> to use them. I found <a href="https://stackoverflow.com/questions/31517573/adjust-dash-stream-volume-with-android-exoplayer">this</a>, but it seems that for ExoPlayer v2.0.4 it doesn't work. Any ideas will be highly appreciated!</p>