summaryrefslogtreecommitdiff
path: root/services/coverage/java
diff options
context:
space:
mode:
author Jean-Michel Trivi <jmtrivi@google.com> 2022-07-11 01:45:39 +0000
committer Jean-Michel Trivi <jmtrivi@google.com> 2022-12-06 22:25:33 +0000
commite2a281aa250654cfc3e1d57629c10721ac2e0867 (patch)
tree11858b7a229f4ab5e816ca66cc669e49071e0e57 /services/coverage/java
parent5b7da895e28ce610243d80a87670bc0ab1c734f5 (diff)
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 Merged-In: I6fb0289ef3b72e4dd505f9114dd59da174f53238
Diffstat (limited to 'services/coverage/java')
0 files changed, 0 insertions, 0 deletions