History log of /packages/apps/Settings/src/com/android/settings/deviceinfo/UsbBackend.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9e9e63b7b3b31fcae7242eb07f528487e0913402 11-Feb-2016 Sudheer Shanka <sudheersai@google.com> Part3 - Don't add padlock if the restriction is not set by admin.

Bug: 26687435
Change-Id: Ibfea6d7d5bd32e7a05dcc2cc32b121c9e50b6a34
/packages/apps/Settings/src/com/android/settings/deviceinfo/UsbBackend.java
1c3fd76ee08e63d5a12387e21a59f89c431fc17a 20-Jan-2016 Sudheer Shanka <sudheersai@google.com> Add padlock to usb modes when disabled by admin.

Change-Id: I8504febd78f083eb3ff88926fe29d69edc62b6ef
/packages/apps/Settings/src/com/android/settings/deviceinfo/UsbBackend.java
e779213d8e5ae04e9b26a7b39a11db3827a98360 04-Nov-2015 Jason Monk <jmonk@google.com> Merge "Don\'t show MIDI USB option if not supported" am: c2a9cd03f7 am: 92aafd3ed5
am: 1150cfce95

* commit '1150cfce95950f9de3e6e340b6d8efaf5bbd3eb0':
Don't show MIDI USB option if not supported
81ec0945545cdf77782a905cf268145117a8f550 04-Nov-2015 Zoran Jovanovic <zoran.jovanovic@sonymobile.com> Don't show MIDI USB option if not supported

If device doesn't support MIDI, don't show MIDI in "Use USB for" menu
when USB cable is connected.
(Selecting MIDI will crash the Settings app.)

Change-Id: I60f4cbb6357f162fecb574cdb6766cf5ed92e78e
/packages/apps/Settings/src/com/android/settings/deviceinfo/UsbBackend.java
f2686165cf06bc92d8b9ea4260d6cca9ff215651 10-Sep-2015 Jason Monk <jmonk@google.com> am cde29f77: am 618bc11b: am 72fecf9f: am d3c60afe: Include the usb data mode regardless of data role

* commit 'cde29f771a85dc3f7e5b567ffcaa07aaa486fcf4':
Include the usb data mode regardless of data role
d3c60afe5267eb614b9c0a99b797e6bbb51de16f 10-Sep-2015 Jason Monk <jmonk@google.com> Include the usb data mode regardless of data role

Turns out there are valid data modes in host mode (like midi).
Need to allow these through for the dialog to set the proper
current state.

Bug: 23905770
Change-Id: I7a37ad95ccaf18f211d2b2d330c7f1d7af4cfc16
/packages/apps/Settings/src/com/android/settings/deviceinfo/UsbBackend.java
a5c73b423d6c1e0288086e97f29094bdafbb3b57 26-Aug-2015 Yasuhiro Matsuda <mazda@google.com> Merge "Handle the case where null is returned for USB_STATE intent."
94e460fd45da93d8e8c7e23fea5bdf8c443816b7 12-Aug-2015 Jason Monk <jmonk@google.com> Fix Usb-C dialog issues

- Fix theme
- Fix PTP bug introduced in initial USB-C support

Bug: 21615151
Change-Id: I577f06929b028fe3f50ef5b9adcfa9507fd1df0e
/packages/apps/Settings/src/com/android/settings/deviceinfo/UsbBackend.java
acb7b31bff812eb325e318620c4e1cc443358688 07-Aug-2015 Yasuhiro Matsuda <mazda@google.com> Handle the case where null is returned for USB_STATE intent.

USB_STATE is not received if USB_STATE has not changed from
the initial state. This CL adds handling for that case.

BUG: 22163689
Change-Id: I232a558caaac4f4984f7629e2574d478fc7ad432
/packages/apps/Settings/src/com/android/settings/deviceinfo/UsbBackend.java
9824c5da1efa9750fb19d477d29875a08289ecf5 04-Aug-2015 Jason Monk <jmonk@google.com> resolved conflicts for merge of 1adca55f to mnc-dr-dev

Change-Id: Iac88fbc39bbfb7aaa730652794b4aa73618c1d9c
83290eef8cfeebc9736f077d78003d78e6bf1320 29-Jul-2015 Jason Monk <jmonk@google.com> Update USB dialog for USB-C power option

Also includes a bit of visual updates, options now have summaries
as well.

Code has been refactored a bit, and is more flexible to easily
support any kind of power/data flow combination once its time
to support that.

Currently devices don't have USB-C ports, they can be simulated
with the following commands:
$ adb shell dumpsys usb add-port "matrix" dual
# ?s control whether these can be changed
$ adb shell dumpsys usb connect-port "matrix" ufp? sink? device?
# Do testing here
$ adb shell dumpsys usb disconnect-port "matrix"
$ adb shell dumpsys usb remove-port "matrix"
$ adb shell dumpsys usb reset
# Use the help for more info
$ adb shell dumpsys usb -h

Bug: 21615151
Change-Id: I53ad4de51ff10a197c87bf2741756c1821ee9e74
/packages/apps/Settings/src/com/android/settings/deviceinfo/UsbBackend.java