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

Commit bf783e24 authored by Jerry Zhang's avatar Jerry Zhang Committed by Android (Google) Code Review
Browse files

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

parents dea04383 f706fe2f
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 {