Audio: voice concurrency support for 8916
- All VoIP, compress, deep buffer, record usecases
need to close before voice call activation on 8916
- All incoming VoIP, compress, deep buffer, record usecases
need to block during voice call on 8916
- Close all opened sessions & block incoming usecases
using phonestate
Change-Id: I92865b3d15c92eb6cd8aa71fb5f835c424557d76
diff --git a/policy_hal/AudioPolicyManager.h b/policy_hal/AudioPolicyManager.h
index ca7031d..f2488b2 100644
--- a/policy_hal/AudioPolicyManager.h
+++ b/policy_hal/AudioPolicyManager.h
@@ -106,8 +106,12 @@
//parameter indicates if HDMI plug in/out detected
bool mHdmiAudioEvent;
+
private:
void handleNotificationRoutingForStream(AudioSystem::stream_type stream);
+ // Used for voip + voice concurrency usecase
+ int mPrevPhoneState;
+
};
};