AudioManger.setStreamMute is now deprecated with api 23 and it is preferred to use AudioManager.adjustStreamVolume
with AudioManager.ADJUST_MUTE.
My problem is that this kind of flag is only supported with api 23 while my app is minimum api 16.
Is there an other way of muting the whole system?
If not, why would google deprecate this method?
Aucun commentaire:
Enregistrer un commentaire