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

am: bf783e24cf

Change-Id: Ic318103625dcd7b53c86df5fcd6778efb1081157
This commit is contained in:
Jerry Zhang
2017-05-09 20:24:12 +00:00
committed by android-build-merger

View File

@@ -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 {