audiopolicy: Do not close SoundTrigger input in CloseAllInputs

During device connect or disconnect, closeAllInputs is called and
all active inputs are closed. This needs to be ignored in case of
sound trigger session as it uses same io handle throughout.
Using same handle causes startInput on new session to fail if
releaseInput happens on previous session and handle removed
from mInputs.
ReleaseInput, startInput are called when record track is
invalidated and restored back as part of closing the input.
This would also cause setCapturestate to never be false.

Change-Id: I9f1c4f82b84805b5f7a0aa770b333e7f2aeee21c
diff --git a/policy_hal/AudioPolicyManager.h b/policy_hal/AudioPolicyManager.h
index 53c9a1b..8e47d19 100644
--- a/policy_hal/AudioPolicyManager.h
+++ b/policy_hal/AudioPolicyManager.h
@@ -73,6 +73,7 @@
         // indicates to the audio policy manager that the input stops being used.
         virtual status_t stopInput(audio_io_handle_t input,
                                    audio_session_t session);
+        virtual void closeAllInputs();
 
 protected: