Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71fcebea authored by Hall Liu's avatar Hall Liu Committed by android-build-merger
Browse files

Merge "Add TYPE_USB_HEADSET to WiredHeadsetManager" into oc-dr1-dev am: f1636500

am: 4e23eb4a

Change-Id: I6e4002e593707d6dba4456ddc3c7b98bd5db2aaa
parents c0893136 4e23eb4a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -67,6 +67,7 @@ public class WiredHeadsetManager {
                    case AudioDeviceInfo.TYPE_WIRED_HEADPHONES:
                    case AudioDeviceInfo.TYPE_WIRED_HEADSET:
                    case AudioDeviceInfo.TYPE_USB_DEVICE:
                    case AudioDeviceInfo.TYPE_USB_HEADSET:
                        isPluggedIn = true;
                }
            }