AudioService: do not log sound effects in audio dumpsys
"audio" dumpsys captures the logs from PlaybackActivityMonitor. This includes the activity of the SoundPool in AudioService which handles the sounds effects for the UI, such as touchsounds. But with touchsounds enabled, too many important player logs are lost as UI playback events fill the rolling window of logs. The fix consists in SoundEffectsHelper giving a handle of the PlayerBase used for effect playback to AudioService, which then tells PlaybackActivityMonitor to not log playback events for this player. Bug: 236983951 Test: with touch sounds enabled, verify events absent from dumpsys audio Change-Id: I6fb0289ef3b72e4dd505f9114dd59da174f53238
Loading
Please register or sign in to comment