Merge "Let UsbDeviceManager choose the appropriate function default" into mnc-dev

This commit is contained in:
Nick Kralevich
2015-06-13 03:12:25 +00:00
committed by Android (Google) Code Review

View File

@@ -95,7 +95,7 @@ public class UsbModeChooserActivity extends Activity {
private void setCurrentFunction(int which) { private void setCurrentFunction(int which) {
switch (which) { switch (which) {
case 0: case 0:
mUsbManager.setCurrentFunction(UsbManager.USB_FUNCTION_MTP); mUsbManager.setCurrentFunction(null);
mUsbManager.setUsbDataUnlocked(false); mUsbManager.setUsbDataUnlocked(false);
break; break;
case 1: case 1: