From 83290eef8cfeebc9736f077d78003d78e6bf1320 Mon Sep 17 00:00:00 2001 From: Jason Monk Date: Wed, 29 Jul 2015 14:53:35 -0400 Subject: 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 --- res/values/strings.xml | 38 +++++++++++++++++++++++++++++++------- 1 file changed, 31 insertions(+), 7 deletions(-) (limited to 'res/values') diff --git a/res/values/strings.xml b/res/values/strings.xml index c269b99..3be6000 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -6760,22 +6760,46 @@ %1$d more - - Charging only - + Just charge this device + + Power supply + + Charge the other connected device + + File transfers + - Transfer files (MTP) - - Transfer photos (PTP) - + Transfer photos or files if MTP is not supported (PTP) + MIDI + + Use device for MIDI input -- cgit v1.1