| Index: webrtc/modules/audio_device/android/audio_manager.h
|
| diff --git a/webrtc/modules/audio_device/android/audio_manager.h b/webrtc/modules/audio_device/android/audio_manager.h
|
| index 8c32f0b08221deae8470bf8fdd6830becebdf49c..341d426e418bc99d7ed4c7297f1759f3d036c14a 100644
|
| --- a/webrtc/modules/audio_device/android/audio_manager.h
|
| +++ b/webrtc/modules/audio_device/android/audio_manager.h
|
| @@ -47,7 +47,6 @@
|
|
|
| bool Init();
|
| void Close();
|
| - void SetCommunicationMode(bool enable);
|
| bool IsCommunicationModeEnabled();
|
| bool IsDeviceBlacklistedForOpenSLESUsage();
|
|
|
| @@ -55,7 +54,6 @@
|
| std::unique_ptr<GlobalRef> audio_manager_;
|
| jmethodID init_;
|
| jmethodID dispose_;
|
| - jmethodID set_communication_mode_;
|
| jmethodID is_communication_mode_enabled_;
|
| jmethodID is_device_blacklisted_for_open_sles_usage_;
|
| };
|
| @@ -84,9 +82,6 @@
|
| // Revert any setting done by Init().
|
| bool Close();
|
|
|
| - // Set audio mode to AudioManager.MODE_IN_COMMUNICATION if |enable| is true
|
| - // and AudioManager.MODE_NORMAL otherwise.
|
| - void SetCommunicationMode(bool enable);
|
| // Returns true if current audio mode is AudioManager.MODE_IN_COMMUNICATION.
|
| bool IsCommunicationModeEnabled() const;
|
|
|
|
|