summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2015-06-12 17:19:12 -0700
committerNick Kralevich <nnk@google.com>2015-06-12 17:21:25 -0700
commit43965fe5cecd2bc8e139f4cbd012e5d6407ac7f6 (patch)
tree3d14dc057dc809795573df076d1fb396ed39e081 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parente61fc94b9b6d4ccba60cca9ac0e0a67539f18780 (diff)
UsbDeviceManager: Modify default function handling
When adb is enabled, there's no need to also enable MTP mode. ADB mode enabled is sufficient to get connect messages from the kernel driver. This change modifies getDefaultFunctions() to return adb mode if adb is enabled, but mtp when it's not enabled. Also stop using "none" mode as the default. "none" should only be used when toggling the driver. Bug: 21429947 Change-Id: I767491417c6c69a120fcf4f3d6ec0c73311a1a60
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions