summaryrefslogtreecommitdiff
path: root/libpackagelistparser/packagelistparser_test.cpp
diff options
context:
space:
mode:
authorchihhao.chen <chihhao.chen@mediatek.com>2019-05-20 16:55:55 +0800
committerHridya Valsaraju <hridya@google.com>2019-05-29 23:10:50 +0000
commit8c544b6fd8377890f8be827255f9e78f95a23b34 (patch)
tree1ed744ee3620fb93eae504a0004e35f6dabff00b /libpackagelistparser/packagelistparser_test.cpp
parent79b0682ec97af9dda21c86b5ec58e509780e1552 (diff)
Fix non-aio USB read issue for fastbootd
non-aio USB read function was stuck in a loop waiting for more data because data length parameter is always set 64 for fastbootd commands. It should be a normal case to get less data than expected since lengths of these commands are usually less than 64. Add logic to check this and one more parameter to distinguish fastbootd from general adbd case. Bug: 133189029 Test: try various fastbootd commands Change-Id: I6690324840d78f3f1e04235040301520329976db Merged-In: I6690324840d78f3f1e04235040301520329976db
Diffstat (limited to 'libpackagelistparser/packagelistparser_test.cpp')
0 files changed, 0 insertions, 0 deletions