commit | 4882496232a8fc659f7e2fbfb4984d8cdc96013b | [log] [tgz] |
---|---|---|
author | Jerry Zhang <zhangjerry@google.com> | Wed Oct 12 15:49:32 2016 -0700 |
committer | Jerry Zhang <zhangjerry@google.com> | Tue Jan 24 13:26:51 2017 -0800 |
tree | abb9373d71f387620c69d7a0f1b1c2c68a345aa6 | |
parent | bfc5d563aa19912e2ab103d04329419e8cec6fb2 [diff] |
Refactored setCurrentFunction and setUsbDataUnlocked into single method. This gets rid of an extraneous configuration change when going from adb to adb + file transfer as previously the config would have been reset once for functions and once for data unlocked. It also simplifies some of the code. Bug: 31814300 Test: manually changing usb configurations Change-Id: Ica10a195338b2189db13113f44657393db110bee (cherry picked from commit 7a396be6d5ba8914933a54b5bfac25e118db0e9f)