I try to setMode(mode_in_call) to change audio mode when I play a media.
So,i'm sure i add the permission
and i write in code like this:
AudioManager mAudioManager = (AudioManager) getSystemService(Context.AUDIO_SERVICE);
mAudioManager.setMode(AudioManager.MODE_IN_CALL);
here is the problem: i use Sumsung i9000 i9023 it doesn't work,and the log Phone Related Audio Settings Permission Denial: setMode() but i try Sony x10 LT15i,it can modify the mode correctly. why doesn't this happen.