Nexus 5x continua fazendo som de notificação sem qualquer notificação -- notifications campo com nexus-5x camp android Relacionado O problema

Nexus 5X keeps making notification sound without any notification


1
vote

problema

português

Eu tenho um Nexus 5x no Oreo que recebeu recentemente os sons de notificação quando eu acordei de sono. No entanto, não há notificações visíveis. Eu tentei olhar para o logcat para ver se há algum logs que coincidem com os sons de notificação, mas é muito barulhento. Eu notei o seguinte, mas não tenho certeza se eles são o culpado.

  11-07 17:01:49.997  3460 17021 I WifiService: getConnectionInfo uid=10124 11-07 17:01:49.998  3460 17021 D WifiPermissionsUtil: Denied: no location permission 11-07 17:01:49.998  3460 17021 D WifiPermissionsUtil: Denied: The current config is not for an open network. 11-07 17:01:50.003  3460  4950 I WifiService: getConnectionInfo uid=10124 11-07 17:01:50.004  3460  4950 D WifiPermissionsUtil: Denied: no location permission 11-07 17:01:50.004  3460  4950 D WifiPermissionsUtil: Denied: The current config is not for an open network. 11-07 17:01:50.009  7249  7249 W Notification: Use of stream types is deprecated for operations other than volume control 11-07 17:01:50.009  7249  7249 W Notification: See the documentation of setSound() for what to use instead with android.media.AudioAttributes to qualify your playback use case 11-07 17:01:50.039 31569 31627 D Avrcp   : AudioManager Player: ID:23 -- type:android.media.SoundPool -- u/pid:10035/3869 -- state:idle -- attr:AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x0 tags= bundle=null 11-07 17:01:50.039 31569 31627 D Avrcp   : AudioManager Player: ID:3639 -- type:android.media.MediaPlayer -- u/pid:10035/3869 -- state:idle -- attr:AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x0 tags= bundle=null 11-07 17:01:50.039 31569 31627 D Avrcp   : AudioManager Player: ID:15 -- type:android.media.SoundPool -- u/pid:1000/3460 -- state:idle -- attr:AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x0 tags= bundle=null 11-07 17:01:50.039 31569 31627 D Avrcp   : AudioManager Player: ID:31 -- type:android.media.SoundPool -- u/pid:1027/6162 -- state:idle -- attr:AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x0 tags= bundle=null 11-07 17:01:50.039 31569 31627 D Avrcp   : AudioManager Player: ID:3631 -- type:android.media.MediaPlayer -- u/pid:10035/3869 -- state:started -- attr:AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x0 tags= bundle=null 11-07 17:01:50.039 31569 31627 D Avrcp   : AudioManager isPlaying: true 11-07 17:01:50.062  3114  3114 D NuPlayerDriver: NuPlayerDriver(0xf1414200) created, clientPid(3869) 11-07 17:01:50.082  3114 13299 D GenericSource: FileSource remote 11-07 17:01:50.094  3460 17021 I WifiService: getConnectionInfo uid=10124 11-07 17:01:50.094  3460 17021 D WifiPermissionsUtil: Denied: no location permission 11-07 17:01:50.094  3460 17021 D WifiPermissionsUtil: Denied: The current config is not for an open network. 11-07 17:01:50.097  3114 13298 D NuPlayerDriver: notifyListener_l(0xf1414200), (1, 0, 0, -1), loop setting(0, 0) 11-07 17:01:50.099  7249 13274 W Notification: Use of stream types is deprecated for operations other than volume control 11-07 17:01:50.099  7249 13274 W Notification: See the documentation of setSound() for what to use instead with android.media.AudioAttributes to qualify your playback use case 11-07 17:01:50.113  3460  3510 I ActivityManager: Start proc 13301:android.process.acore/u0a1 for content provider com.android.providers.contacts/.ContactsProvider2 11-07 17:01:50.116  3460  3460 E NotificationService: Muting recently noisy 0|info.kfsoft.android.TrafficIndicator|2131623986|null|10124 11-07 17:01:50.314 13301 13301 I ContactsPerf: VoicemailContentProvider.onCreate start 11-07 17:01:50.348 13301 13301 I ContactsPerf: VoicemailContentProvider.onCreate finish 11-07 17:01:50.401  3114 13289 I NuPlayerDecoder: [audio] saw output EOS 11-07 17:01:50.483 13301 13316 D ContactsDatabaseHelper: WAL enabled for contacts2.db: true 11-07 17:01:50.608 31569 31627 D Avrcp   : AudioManager Player: ID:23 -- type:android.media.SoundPool -- u/pid:10035/3869 -- state:idle -- attr:AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x0 tags= bundle=null 11-07 17:01:50.608 31569 31627 D Avrcp   : AudioManager Player: ID:3639 -- type:android.media.MediaPlayer -- u/pid:10035/3869 -- state:started -- attr:AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x0 tags= bundle=null 11-07 17:01:50.608 31569 31627 D Avrcp   : AudioManager isPlaying: true    

pid = 3460 é para System_Server, e a configuração de localização está ativada (alta precisão), então não tenho certeza porque está reclamando de um problema de permissões.

Tentei o dumpsys áudio quando ouço os sons, e com base nos timestamps, aqui estão a saída relevante:

  Audio event log: focus commands as seen by MediaFocusControl 11-09 08:50:29:151 requestAudioFocus() from uid/pid 10035/3869 clientId=android.media.AudioManager@8aef0d8 callingPack=com.android.systemui req=3 flags=0x0 sdk=27 11-09 08:50:32:129 abandonAudioFocus() from uid/pid 10035/3869 clientId=android.media.AudioManager@8aef0d8  Audio event log: playback activity as reported through PlayerBase 11-09 08:50:29:120 new player piid:9887 uid/pid:10035/3869 type:android.media.MediaPlayer attr:AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x0 tags= bundle=null 11-09 08:50:29:120 player piid:9887 new AudioAttributes:AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x0 tags= bundle=null 11-09 08:50:29:121 player piid:9887 has OP_PLAY_AUDIO:true in uid:10035 11-09 08:50:29:652 player piid:9887 state:started 11-09 08:50:29:654 releasing player piid:9879 11-09 08:50:30:156 new player piid:9895 uid/pid:10035/3869 type:android.media.MediaPlayer attr:AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x0 tags= bundle=null 11-09 08:50:30:157 player piid:9895 new AudioAttributes:AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x0 tags= bundle=null 11-09 08:50:30:157 player piid:9895 has OP_PLAY_AUDIO:true in uid:10035 11-09 08:50:30:686 player piid:9895 state:started 11-09 08:50:30:688 releasing player piid:9887 11-09 08:50:32:129 player piid:9895 state:stopped  Audio event log: force use (logged before setForceUse() is executed) 11-09 08:50:32:130 setForceUse(FOR_MEDIA, FORCE_NO_BT_A2DP) due to setBluetoothA2dpOn(false) from u/pid:1000/3460    

Alguma ideia?

english

I've a Nexus 5X on Oreo that has recently been making notification sounds when I wake it up from sleep. However, there are no visible notifications. I tried to look at logcat to see if there are any logs that coincide with the notification sounds, but it's too noisy. I did notice the following though, but I'm not sure if they're the culprit.

11-07 17:01:49.997  3460 17021 I WifiService: getConnectionInfo uid=10124 11-07 17:01:49.998  3460 17021 D WifiPermissionsUtil: Denied: no location permission 11-07 17:01:49.998  3460 17021 D WifiPermissionsUtil: Denied: The current config is not for an open network. 11-07 17:01:50.003  3460  4950 I WifiService: getConnectionInfo uid=10124 11-07 17:01:50.004  3460  4950 D WifiPermissionsUtil: Denied: no location permission 11-07 17:01:50.004  3460  4950 D WifiPermissionsUtil: Denied: The current config is not for an open network. 11-07 17:01:50.009  7249  7249 W Notification: Use of stream types is deprecated for operations other than volume control 11-07 17:01:50.009  7249  7249 W Notification: See the documentation of setSound() for what to use instead with android.media.AudioAttributes to qualify your playback use case 11-07 17:01:50.039 31569 31627 D Avrcp   : AudioManager Player: ID:23 -- type:android.media.SoundPool -- u/pid:10035/3869 -- state:idle -- attr:AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x0 tags= bundle=null 11-07 17:01:50.039 31569 31627 D Avrcp   : AudioManager Player: ID:3639 -- type:android.media.MediaPlayer -- u/pid:10035/3869 -- state:idle -- attr:AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x0 tags= bundle=null 11-07 17:01:50.039 31569 31627 D Avrcp   : AudioManager Player: ID:15 -- type:android.media.SoundPool -- u/pid:1000/3460 -- state:idle -- attr:AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x0 tags= bundle=null 11-07 17:01:50.039 31569 31627 D Avrcp   : AudioManager Player: ID:31 -- type:android.media.SoundPool -- u/pid:1027/6162 -- state:idle -- attr:AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x0 tags= bundle=null 11-07 17:01:50.039 31569 31627 D Avrcp   : AudioManager Player: ID:3631 -- type:android.media.MediaPlayer -- u/pid:10035/3869 -- state:started -- attr:AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x0 tags= bundle=null 11-07 17:01:50.039 31569 31627 D Avrcp   : AudioManager isPlaying: true 11-07 17:01:50.062  3114  3114 D NuPlayerDriver: NuPlayerDriver(0xf1414200) created, clientPid(3869) 11-07 17:01:50.082  3114 13299 D GenericSource: FileSource remote 11-07 17:01:50.094  3460 17021 I WifiService: getConnectionInfo uid=10124 11-07 17:01:50.094  3460 17021 D WifiPermissionsUtil: Denied: no location permission 11-07 17:01:50.094  3460 17021 D WifiPermissionsUtil: Denied: The current config is not for an open network. 11-07 17:01:50.097  3114 13298 D NuPlayerDriver: notifyListener_l(0xf1414200), (1, 0, 0, -1), loop setting(0, 0) 11-07 17:01:50.099  7249 13274 W Notification: Use of stream types is deprecated for operations other than volume control 11-07 17:01:50.099  7249 13274 W Notification: See the documentation of setSound() for what to use instead with android.media.AudioAttributes to qualify your playback use case 11-07 17:01:50.113  3460  3510 I ActivityManager: Start proc 13301:android.process.acore/u0a1 for content provider com.android.providers.contacts/.ContactsProvider2 11-07 17:01:50.116  3460  3460 E NotificationService: Muting recently noisy 0|info.kfsoft.android.TrafficIndicator|2131623986|null|10124 11-07 17:01:50.314 13301 13301 I ContactsPerf: VoicemailContentProvider.onCreate start 11-07 17:01:50.348 13301 13301 I ContactsPerf: VoicemailContentProvider.onCreate finish 11-07 17:01:50.401  3114 13289 I NuPlayerDecoder: [audio] saw output EOS 11-07 17:01:50.483 13301 13316 D ContactsDatabaseHelper: WAL enabled for contacts2.db: true 11-07 17:01:50.608 31569 31627 D Avrcp   : AudioManager Player: ID:23 -- type:android.media.SoundPool -- u/pid:10035/3869 -- state:idle -- attr:AudioAttributes: usage=USAGE_ASSISTANCE_SONIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x0 tags= bundle=null 11-07 17:01:50.608 31569 31627 D Avrcp   : AudioManager Player: ID:3639 -- type:android.media.MediaPlayer -- u/pid:10035/3869 -- state:started -- attr:AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x0 tags= bundle=null 11-07 17:01:50.608 31569 31627 D Avrcp   : AudioManager isPlaying: true 

PID=3460 is for system_server, and location setting is on(high accuracy), so I'm not sure why it's complaining of a permissions problem.

Tried dumpsys audio when I hear the sounds, and based on the timestamps, here are the relevant output:

Audio event log: focus commands as seen by MediaFocusControl 11-09 08:50:29:151 requestAudioFocus() from uid/pid 10035/3869 clientId=android.media.AudioManager@8aef0d8 callingPack=com.android.systemui req=3 flags=0x0 sdk=27 11-09 08:50:32:129 abandonAudioFocus() from uid/pid 10035/3869 clientId=android.media.AudioManager@8aef0d8  Audio event log: playback activity as reported through PlayerBase 11-09 08:50:29:120 new player piid:9887 uid/pid:10035/3869 type:android.media.MediaPlayer attr:AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x0 tags= bundle=null 11-09 08:50:29:120 player piid:9887 new AudioAttributes:AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x0 tags= bundle=null 11-09 08:50:29:121 player piid:9887 has OP_PLAY_AUDIO:true in uid:10035 11-09 08:50:29:652 player piid:9887 state:started 11-09 08:50:29:654 releasing player piid:9879 11-09 08:50:30:156 new player piid:9895 uid/pid:10035/3869 type:android.media.MediaPlayer attr:AudioAttributes: usage=USAGE_UNKNOWN content=CONTENT_TYPE_UNKNOWN flags=0x0 tags= bundle=null 11-09 08:50:30:157 player piid:9895 new AudioAttributes:AudioAttributes: usage=USAGE_NOTIFICATION content=CONTENT_TYPE_SONIFICATION flags=0x0 tags= bundle=null 11-09 08:50:30:157 player piid:9895 has OP_PLAY_AUDIO:true in uid:10035 11-09 08:50:30:686 player piid:9895 state:started 11-09 08:50:30:688 releasing player piid:9887 11-09 08:50:32:129 player piid:9895 state:stopped  Audio event log: force use (logged before setForceUse() is executed) 11-09 08:50:32:130 setForceUse(FOR_MEDIA, FORCE_NO_BT_A2DP) due to setBluetoothA2dpOn(false) from u/pid:1000/3460 

Any idea?

     
         
         

Lista de respostas


Perguntas relacionadas

2  Nexus 5x vibra apesar de desabilitar nas configurações do aplicativo  ( Nexus 5x vibrates despite disabling in app settings ) 
Meu telefone vibra em todas as notificações, apesar de desligar a vibrar nas configurações de cada aplicativo individual que tenha a opção. Como posso bloquea...

0  Nexus 5x Media Sound Problema  ( Nexus 5x media sound issue ) 
Eu tenho um problema com o meu novo Nexus 5x. O som do anel, como notificações ou chamadas, ou o som do alarme funciona muito bem. Mas não há som para mídia, ...

3  Atualização nougat danificou minhas notificações?  ( Nougat upgrade damaged my notifications ) 
Eu atualizei meu Nexus 5x para Nougat e desde então lamento a decisão. Anteriormente, se eu tivesse uma notificação, a luz de iluminação começaria a funcionar...

2  Malware persistente apesar da fábrica redefinir  ( Persistent malware despite factory resets ) 
Eu adoraria seus pensamentos sobre isso. Vários meses atrás, cliquei erroneamente um pop-up em um site, e desde então tenho recebido popups intermitentes diz ...

4  Nexus 5x veio com Android pré-instalado 7.0.0  ( Nexus 5x came with preinstalled android 7 0 0 ) 
Eu comprei recentemente o Nexus 5x da Amazon e veio com Android 7.0.0, mas a especificação oficial diz que vem com o Android 6. Então pergunta: significa algo...

1  Direto ao correio de voz desliga por conta própria  ( Direct to voicemail turns off on its own ) 
Eu tenho um contato "spam" que é definido como "rota para o correio de voz" imediatamente. (Veja como bloquear graciosamente chamadas por exemplo) Essa co...

7  Ativar Hotspot / Tethering no Nexus 5x + 6P sem um plano de assinatura? Raiz e sem raiz  ( Enable hotspot tethering on nexus 5x 6p without a subscription plan root an ) 
Existe uma maneira de ativar o hotspot / tethering para o Nexus 5x e 6p, mesmo que você não tenha um plano de assinatura para isso? Como você faz através de t...

0  Depuração de conexão WiFi no Nexus 5x  ( Debugging wifi connection on nexus 5x ) 
Após a atualização do Nexus 5 para Nexus 5X, não consigo me conectar ao Wi-Fi da minha empresa. As credenciais que fornece estão corretas e, às vezes, consigo...

-1  Temperatura de medição usando laser embutido no Nexus 5x  ( Measuring temperature using built in laser in nexus 5x ) 
Eu sei que é possível medir a temperatura usando um laser e o Nexus 5x telefone tem foco baseado em laser. Por isso, pode ser possível usar a leitura da entra...

15  Nexus 5x não usará toques / notificações personalizados  ( Nexus 5x wont use custom ringtones notifications ) 
Acabei de receber o 5x e carregá-lo com meus tons favoritos. Fez a mesma coisa que costumo fazer com telefones Android para definir diferentes tons para difer...




© 2022 pergunte.org All Rights Reserved. Casa de perguntas e respostas todos os direitos reservados


Licensed under cc by-sa 3.0 with attribution required.