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

Commit 9507d707 authored by Jerry Zhang's avatar Jerry Zhang Committed by android-build-merger
Browse files

Merge "Always force set functions on disconnect" into oc-dev am: bf783e24

am: 4fdcb5d6

Change-Id: I8d7656a046fe2e649c73f4ad1505e9b7cf2625f0
parents 76bce49d 4fdcb5d6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -906,7 +906,7 @@ public class UsbDeviceManager {
                        if (!mConnected) {
                            // restore defaults when USB is disconnected
                            Slog.i(TAG, "Disconnect, setting usb functions to null");
                            setEnabledFunctions(null, false, false);
                            setEnabledFunctions(null, true, false);
                        }
                        updateUsbFunctions();
                    } else {