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

Commit c766f7f3 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: e73ddbfe

Change-Id: Id2745f53d9d0d86285e7371208cad1571e9654d1
parents c0893136 e73ddbfe
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;
                }
            }