commit | b1c34706d27abad4d77ca70b9f722d49eaea085b | [log] [tgz] |
---|---|---|
author | minagranic <minagranic@google.com> | Wed Jun 03 17:59:44 2020 +0000 |
committer | minagranic <minagranic@google.com> | Fri Jun 05 07:51:37 2020 +0000 |
tree | 3ffc54c0d1898642e8db468bc3efc6de65b49c15 | |
parent | 0222dcbee15ea539ba5841cdbbfb72390ae790fa [diff] |
Retry USB enumeration once if startAoap fails. Required by HUIG R03-254. Bug: 145687797 Test: manually tested by plugging in device and succeeding. Changed code so that startAoap throws an exception once, retry succeeds. Changed code so that startAoap throws an exception every time, HU gives up Aoa handshake. Used multiple devices to make sure retrying is with the correct one. Change-Id: I3236cd0ffd0374600da90f2183e61a3ac3006fb7
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.