Alerta de volume muito alto para fone de ouvido

995 views
Skip to first unread message

Carlos Pelegrin

unread,
Nov 20, 2013, 6:03:04 AM11/20/13
to androidb...@googlegroups.com
Bom dia pessoal.

Estou com um certo problema em relação as mensagens em anexo.

Há alguma forma de suprimir esse alerta?


Obrigado
device-2013-11-19-180208.png
device-2013-11-20-085603.png

Carlos Eduardo

unread,
Nov 20, 2013, 6:51:22 AM11/20/13
to androidbrasil-dev
Não há essa possibilidade. :/


--
Carlos Eduardo Simões Pelegrin


2013/11/20 Alex Baule <alexw...@gmail.com>
Sim, nao aumentar tanto o volume.


2013/11/20 Carlos Pelegrin <carlosedua...@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups
> "Android Brasil - Dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to androidbrasil-...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Andre Souza

unread,
Nov 20, 2013, 7:00:16 AM11/20/13
to androidb...@googlegroups.com
Por acaso isso tem relação com o encaixe de um aparelho de leitora de cartão na entrada dos fones de ouvido? Porque já trabalhei com algo parecido e é perfeitamente normal este alerta, inclusive ao testar apps de terceiros tambem constatei o mesmo alerta... não entendo, qual seria o problema disso?


2013/11/20 Carlos Eduardo <carlosedua...@gmail.com>



--
André Luiz de Oliveira Souza
Engenheiro da Computação
Pós-graduando em Desenvolvimento de Software com ênfase em Java Corporativo

Marcelo Alves

unread,
Nov 20, 2013, 7:00:18 AM11/20/13
to androidb...@googlegroups.com

Não sei se ajuda, mas tirado daqui :



//==========================================================================================
 // Safe media volume management.
 // MUSIC stream volume level is limited when headphones are connected according to safety
 // regulation. When the user attempts to raise the volume above the limit, a warning is
 // displayed and the user has to acknowlegde before the volume is actually changed.
 // The volume index corresponding to the limit is stored in config_safe_media_volume_index
 // property. Platforms with a different limit must set this property accordingly in their
 // overlay.
 //==========================================================================================

 // mSafeMediaVolumeState indicates whether the media volume is limited over headphones.
 // It is SAFE_MEDIA_VOLUME_NOT_CONFIGURED at boot time until a network service is connected
 // or the configure time is elapsed. It is then set to SAFE_MEDIA_VOLUME_ACTIVE or
 // SAFE_MEDIA_VOLUME_DISABLED according to country option. If not SAFE_MEDIA_VOLUME_DISABLED, it
 // can be set to SAFE_MEDIA_VOLUME_INACTIVE by calling AudioService.disableSafeMediaVolume()
 // (when user opts out).

Agora, como chegar nesse disableSafeMediaVolume, não faço ideia =/

Carlos Eduardo

unread,
Nov 20, 2013, 10:39:59 AM11/20/13
to androidbrasil-dev
André, nenhuma relação. É um apk que testa diversos sinais em dispositivos diferentes. 

Marcelo, acredito que isso é do código fonte do android. Sem chance de mudar :/

Obrigado pela ajuda!


--
Carlos Eduardo Simões Pelegrin


2013/11/20 Marcelo Alves <marcel...@gmail.com>

Alex Baule

unread,
Nov 20, 2013, 6:42:45 AM11/20/13
to androidb...@googlegroups.com
Sim, nao aumentar tanto o volume.


2013/11/20 Carlos Pelegrin <carlosedua...@gmail.com>:
Reply all
Reply to author
Forward
0 new messages