am ea1d16da: am e6adde40: Merge "Shorten dumpsys media.audio_flinger output" into jb-dev
* commit 'ea1d16da8e28b30a58090e6372ce12d40b99c21f':
Shorten dumpsys media.audio_flinger output
diff --git a/services/audioflinger/FastMixer.cpp b/services/audioflinger/FastMixer.cpp
index 3bb7b44..3fe50dc 100644
--- a/services/audioflinger/FastMixer.cpp
+++ b/services/audioflinger/FastMixer.cpp
@@ -588,6 +588,10 @@
void FastMixerDumpState::dump(int fd)
{
+ if (mCommand == FastMixerState::INITIAL) {
+ fdprintf(fd, "FastMixer not initialized\n");
+ return;
+ }
#define COMMAND_MAX 32
char string[COMMAND_MAX];
switch (mCommand) {