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

Commit 4fdcb5d6 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

Change-Id: Ic318103625dcd7b53c86df5fcd6778efb1081157
parents 84da7cda bf783e24
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -855,7 +855,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 {