History log of /packages/services/Telecomm/src/com/android/server/telecom/WiredHeadsetManager.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
22c2ce9cfe71b1d905b9af3bc28513a8eba180c4 28-Jul-2017 David Lin <dtwlin@google.com> Fix issue with USB headset not being recognized when boots

This change removes the use of obsoleted AudioManager.isWiredHeadsetOn API.

Bug: 62475394
Test: manual headset and voice call test
Change-Id: I81fb37fd26ab81b927b1cc23951c5d4e2ee6724e
Signed-off-by: David Lin <dtwlin@google.com>
/packages/services/Telecomm/src/com/android/server/telecom/WiredHeadsetManager.java
16b72880ad37d7867bb676c4497b00264329a373 25-Jul-2017 Hall Liu <hallliu@google.com> Add TYPE_USB_HEADSET to WiredHeadsetManager

Add the device type -- some usb headsets weren't being recognized
properly

Change-Id: I4cca48c065d4272fb96a2fc1f23dff0961f3b59b
Fixes: 62475394
Test: manual
/packages/services/Telecomm/src/com/android/server/telecom/WiredHeadsetManager.java
a3eccfee788c3ac3c831a443b085b141b39bb63d 06-Oct-2016 Brad Ebinger <breadley@google.com> Switch to using android.telecom.Log in Telecom

Sorry.
CP from: https://android-review.googlesource.com/#/c/287332/

Test: Added unit tests for Log Sessions and Events. All other affected
unit tests still pass.
Bug: 26571395
Change-Id: I890d68d935cd554ba89042e99c155757697e1a37
/packages/services/Telecomm/src/com/android/server/telecom/WiredHeadsetManager.java
31ed9becf01386eb721ffc5803d5a8a6c64cd4cf 06-Apr-2016 Hall Liu <hallliu@google.com> Use AudioManager#getDevices in WiredHeadsetManager

AudioManager#getDevicesForStream returns only speakerphone when a call
is in progress and speakerphone is turned on. This prevents detection of
a wired headset being plugged in. Now uses AudioManager#getDevices
instead, which returns all connected devices.

Change-Id: I3bdaca6d77b2444b47971b72a3c7a8450eb50178
Fixes: 28025980
/packages/services/Telecomm/src/com/android/server/telecom/WiredHeadsetManager.java
ca9988ba4e8aed7d04835eca57b62f397c1a08f4 09-Mar-2016 Hall Liu <hallliu@google.com> Let WiredHeadsetManager recognize USB headsets.

WiredHeadsetManager will now determine whether a headset is plugged in
by querying the list of audio devices and matching it against a list of
device types recognized as wired headsets, rather than calling
AudioManager#isWiredHeadsetOn which ignores USB headsets.

Detecting when the list of connected audio devices is now done through
an AudioManager callback instead of listening to an Intent.

Bug: 25110008
Change-Id: I27ac4b835be8a76529c3564df3f8d3d00540cc84
/packages/services/Telecomm/src/com/android/server/telecom/WiredHeadsetManager.java
58f365891ab631d8c45ad69d7024519384e9b75a 21-Jan-2016 Brad Ebinger <breadley@google.com> Increase Logging Statements in Telecom

Increased session logging in Telecom to include previously unseen entry points.

Bug: 26722101
Change-Id: I7771c5d3ca880c4175408497bbae37381854d456
/packages/services/Telecomm/src/com/android/server/telecom/WiredHeadsetManager.java
f62630a57de0d52be2bdbc92a9bf8f305cc0892d 27-Oct-2015 Hall Liu <hallliu@google.com> Refactor CallAudioManager's audio routing

This change separates the audio routing functionality of
CallAudioManager into a separate component, implemented as a formal
state machine.

Change-Id: I4ca66abe72609d67dc8bde8ed8ff1538b7d0cf57
/packages/services/Telecomm/src/com/android/server/telecom/WiredHeadsetManager.java
c395e49e7b9aef59e5b4092945a8648f5adba3a0 25-Sep-2015 Santos Cordon <santoscordon@google.com> Read headset state from audio manager instead of calculating ourselves.

Bug: 24067587
Change-Id: I94ff59bdf8a8440ead52cda29b378b3fccfca619
/packages/services/Telecomm/src/com/android/server/telecom/WiredHeadsetManager.java
9787e0e80d8960cf8b0ca74c7cdc4c4aac97187a 14-Oct-2014 Tyler Gunn <tgunn@google.com> Adding more Telecom state dumping.

Bug: 17730966
Change-Id: I47c83591417784c9484002213230065514b43f63
/packages/services/Telecomm/src/com/android/server/telecom/WiredHeadsetManager.java
7cc70b4f0ad1064a4a0dce6056ad82b205887160 13-Sep-2014 Tyler Gunn <tgunn@google.com> Renaming Telecomm to Telecom.

- Changing package from android.telecomm to android.telecom
- Changing package from com.android.telecomm to
com.android.server.telecomm.
- Renaming TelecommManager to TelecomManager.

Bug: 17364651
Change-Id: Ib7b20ba6348948afb391450b4eef8919261f3272
/packages/services/Telecomm/src/com/android/server/telecom/WiredHeadsetManager.java