3ff3b81827ff647706d6ac8c925a33fedccebd93 |
|
31-Mar-2017 |
Doris Ling <dling@google.com> |
Update USb preference controller to use the new summary texts. - since the choose usb mode dialog and the preference summary use separate strings now, the two classes can have their own handling for getting the title/summary text and hence revert the earlier change that move the setTitle() and setSummary() from the activity to controller - only show summary for the option for "supply power", and don't set summary for all other options - update the controller to use the new summary text. - update test correspondingly. Change-Id: Ie56eb33ba24262e6f3a2259e4ee5ad6f3bfb8061 Fix: 36234108 Test: make RunSettingsRoboTests
/packages/apps/Settings/src/com/android/settings/deviceinfo/UsbModeChooserActivity.java
|
eb51bde8c91ff25e79c35acfdbc1152953656850 |
|
04-Nov-2016 |
Doris Ling <dling@google.com> |
Add Usb preference to connected devices dashboard. Add Usb preference and the corresponding controller. Change-Id: I79e3f20b5c024ece0515f9a6cba1185ba8b8c7be Fixes: 31800290 Test: make RunSettingsRoboTests
/packages/apps/Settings/src/com/android/settings/deviceinfo/UsbModeChooserActivity.java
|
0f6796284b869f7f2863b22f686191539f2c5e02 |
|
22-Mar-2016 |
Daichi Hirono <hirono@google.com> |
Don't close USB type notification when USB is connected to USB devices. Previously we show a notificatino to show the UsbModeChooser when Android is connected to another Android via USB type C cable. However UsbModeChoooser activity was closed immediately after a user tapped the notification, if the Android worked as host. FIXED=27535640 Change-Id: I707dcbf1021e7381096c0ae7cc2d712892ac5a5a
/packages/apps/Settings/src/com/android/settings/deviceinfo/UsbModeChooserActivity.java
|
115d15763d95c2f93a639ad2569037d274d46a22 |
|
07-Mar-2016 |
Sudheer Shanka <sudheersai@google.com> |
Adjust restricted lock positions as per new design. Bug: 27263531 Change-Id: I7e38a9e3356ca43ed936de1e6f8190eba4d4773e
/packages/apps/Settings/src/com/android/settings/deviceinfo/UsbModeChooserActivity.java
|
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/UsbModeChooserActivity.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/UsbModeChooserActivity.java
|
93df36a1c7ae91c304e7d7eb55462b84705a49b3 |
|
17-Dec-2015 |
Du, Changbin <changbin.du@intel.com> |
Hide usb mode chooser dialog after disconnected Add a UsbDisconnectedReceiver to listen usb state event, and hide the usb mode chooser dialog if usb disconnected. Change-Id: I871f56cb5a310e20950926180d9747dd9fad9754 Signed-off-by: Du, Changbin <changbin.du@intel.com> Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>
/packages/apps/Settings/src/com/android/settings/deviceinfo/UsbModeChooserActivity.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/UsbModeChooserActivity.java
|
8a9b03f746233fa00d4e32f018acac919c824f6f |
|
31-Jul-2015 |
Nick Kralevich <nnk@google.com> |
UsbModeChooserActivity: Ensure MIDI available with DISALLOW_USB_FILE_TRANSFER In ec323a0849155302b3b522fe34a2638be74af420, DISALLOW_USB_FILE_TRANSFER turned off all USB options except for "Charge Only". This is too aggressive. MIDI should be available when DISALLOW_USB_FILE_TRANSFER is set. Remove mUsbManager.isUsbDataUnlocked(). That data is available by accessing the sticky broadcast. Bug: 22447614 Bug: 21429947 Change-Id: Icd8398c4cf43f807acf77923b0b25c18f9a9b0d0
/packages/apps/Settings/src/com/android/settings/deviceinfo/UsbModeChooserActivity.java
|
ec323a0849155302b3b522fe34a2638be74af420 |
|
07-Jul-2015 |
Zoltan Szatmary-Ban <szatmz@google.com> |
Filter USB options on chooser when DISALLOW_USB_FILE_TRANSFER is on Bug: 22291579 Change-Id: I32611404ef5f58c7484fe5c4b7a4f7782cc8daa3
/packages/apps/Settings/src/com/android/settings/deviceinfo/UsbModeChooserActivity.java
|
2d0f6a9d360f4ac2de9473d1d0d9dd736aa408ff |
|
13-Jun-2015 |
Nick Kralevich <nnk@google.com> |
Let UsbDeviceManager choose the appropriate function default Rather than hardcoding MTP as the appropriate default when the user selects "Charger Only", call UsbDeviceManager.setCurrentFunction(null). Null is intended to restore the default function, which is appropriate for charging only. Bug: 21429947 Change-Id: I9ee633bcf2f95f9937861c234ab044873202d41b
/packages/apps/Settings/src/com/android/settings/deviceinfo/UsbModeChooserActivity.java
|
5eba30289a708d92f152d998c05bea3866316b3b |
|
10-Jun-2015 |
Nick Kralevich <nnk@google.com> |
Fix USB access control when adb is disabled. When adb is disabled, the default usb mode would be "none", which would turn off the driver and prevent UsbDeviceManager from receiving any new USB connect / disconnect messages. This prevents the user from ever enabling MTP and sharing data when adb is turned off. As discussed in bug 21429947, we work around this problem by keeping the USB driver in MTP mode most of the time, so that we continue to receive USB connect / disconnect messages. To avoid leaking confidential user photos, we now explicitly unlock USB data after switching into MTP/PTP mode. Enabling MTP mode is now decoupled from exposing data on the USB connection. Bug: 21429947 Change-Id: Id8e9df4ac42fdcf22cc5b75b838bf46f6c225081
/packages/apps/Settings/src/com/android/settings/deviceinfo/UsbModeChooserActivity.java
|
72aa5379806759fbf8f8402500b69f34eccb1956 |
|
19-May-2015 |
Guang Zhu <guangzhu@google.com> |
Monkey should not be allowed to switch USB mode Change-Id: Ifb4865d234e0d9e6453f88d37c12744b9daefa62
/packages/apps/Settings/src/com/android/settings/deviceinfo/UsbModeChooserActivity.java
|
7000d5433880b736bd67cbb44f66df771b64ee1b |
|
13-May-2015 |
Nick Kralevich <nnk@google.com> |
New UI for controlling USB Create a new UI for managing USB access control. This UI is implemented as a transparent popup triggered by a persistent notification. Delete the old UI for controlling this. It is no longer used. Bug: 18905620 Change-Id: I54186961414447a9d37f68e946e1c167506170ae
/packages/apps/Settings/src/com/android/settings/deviceinfo/UsbModeChooserActivity.java
|