am bc8985c6
: am 9405a81f
: Merge "Let UsbDeviceManager choose the appropriate function default" into mnc-dev
* commit 'bc8985c6ee49e0feff3a48c399a03d8d882ea6bc': Let UsbDeviceManager choose the appropriate function default
This commit is contained in:
@@ -95,7 +95,7 @@ public class UsbModeChooserActivity extends Activity {
|
||||
private void setCurrentFunction(int which) {
|
||||
switch (which) {
|
||||
case 0:
|
||||
mUsbManager.setCurrentFunction(UsbManager.USB_FUNCTION_MTP);
|
||||
mUsbManager.setCurrentFunction(null);
|
||||
mUsbManager.setUsbDataUnlocked(false);
|
||||
break;
|
||||
case 1:
|
||||
|
Reference in New Issue
Block a user