am 9405a81f
: Merge "Let UsbDeviceManager choose the appropriate function default" into mnc-dev
* commit '9405a81f7ac4116e2715f5739fb5d7fd5c6458d8': 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) {
|
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:
|
||||||
|
Reference in New Issue
Block a user