fcf10f7c12cb3107bdfedce6f76a8c866d154f3c |
|
13-May-2015 |
Nick Kralevich <nnk@google.com> |
Modify how USB connections are handled. * Introduce a new "charger only" mode. In this mode, MTP is disabled, and no file transfers can occur. * Make charger only mode the default. * Modify "persist.sys.usb.config" so it now only holds the adb status. * Make the USB settings non-persistent. Unplugging the USB connection will reset the device back to "charger only" mode. * Fixup wording per UI guidelines. TODO: Re-implement MDM restrictions for USB / MTP access controls. Bug: 18905620 Change-Id: I99a50d9132a81e98187f431166fd9fef4d437e4f
/frameworks/base/cmds/svc/src/com/android/commands/svc/UsbCommand.java
|
f0e3edc0709dc190190e0ca386478f4a0da92e7a |
|
01-May-2012 |
Guang Zhu <guangzhu@google.com> |
remove extra semi colon Eclipse has been complaining about it... Change-Id: I39fb4eeab26af883dd2287baf49ec244db453365
/frameworks/base/cmds/svc/src/com/android/commands/svc/UsbCommand.java
|
59d3d868112f8bbd14f466d0096789548b176d34 |
|
27-Apr-2012 |
Robert Greenwalt <rgreenwalt@google.com> |
Add Usb control to svc. We used to have control over usb via ndc but recent changes removed that. The reverse_tether.sh script needs control (on rooted devices) to run so added this. bug:4208971 Change-Id: I722fc0e14540890be0d79a0b7d22f23b2d57f20c
/frameworks/base/cmds/svc/src/com/android/commands/svc/UsbCommand.java
|