commit | 2d0f6a9d360f4ac2de9473d1d0d9dd736aa408ff | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Fri Jun 12 17:16:32 2015 -0700 |
committer | Nick Kralevich <nnk@google.com> | Fri Jun 12 17:18:05 2015 -0700 |
tree | 3d8c1ecfda8e5e4feedddae5b8a8cba92d21395e | |
parent | da6e4c47aa0e4319ada376d2917aafb2c2c27734 [diff] |
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