summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
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-05 23:30:44 +0000
commitdec1a1b6b7f780528516e777b24ce1639293c27c (patch)
tree829b66502dba43eafb068c0f88d930c626131d0f /libs/androidfw/ApkParsing.cpp
parent2591d9de4e5eaea8d0466a062be17b087ffe858a (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
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions